gdirs
Section: Mac OS X Darwin customization (7)
Updated: January 23 2005
Index Return
to Main Contents
NAME
gdirs - display directory stack as gui menu
SYNOPSIS
gdirs [-f] [-F]
DESCRIPTION
Type gdirs and you will get a pop-up window that displays up
to twenty previously visited directories. Pick whatever directory
you want and hit "OK" and the terminal will cd to that directory.
Type gdirs -f and both the terminal and Finder will change
to the newly selected directory. Type gdirs -F and only the
Finder will change to the newly selected directory.
The non-gui version is (at present) a bit more flexible and
fully-featured. Type dirstack [n] where n is an integer
[defaults to 20] and you will get the n most recent directories
visited, listed with numbers next to them.Ê The command
cd? is the same. You may then type (eg) cd7 and the terminal
will change directory to that listed on line 7 of the dirstack
output. cp7 or cpath7 copies the directory path in
line 7 into the clipboard copy/paste buffer.
OPTIONS
- -f
- both the terminal and Finder will change to the newly selected
directory.
- -F
- the Finder (only) will change to the newly selected
directory
SEE ALSO
http://www.chemistry.ucsc.edu/~wgscott/mystuff/gdirs.html
FILES
The following aliases should be defined in one's
aliases.local file:
alias dirstack=dirdump; typeset -U dirs_shared ;
dirstack
alias cd?=dirdump; typeset -U dirs_shared; dirstack
alias gdirs=dirdump; typeset -U dirs_shared; dirstack >
/dev/null ; guidirs
BUGS
Deleted directories are not purged from the stack.
AUTHOR
W. G. Scott
SEE ALSO
cd?(7), cpath[n](7), dirstack [n](7)
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- SEE ALSO
- FILES
- BUGS
- AUTHOR
- SEE ALSO
This document was created by man2html, using the manual pages.
Time: 05:39:00 GMT, August 06, 2005