gdirs(1)

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?(1), cpath[n](1), dirstack [n](1)