You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MattFlower edited this page Jan 15, 2013
·
2 revisions
Overview
dcd allows you to store a list of directory aliases in a
file that can easily be switched to from the command line.
This functionality can be replicated with aliases, but dcd
adds a lot of additional functionality like:
Adding aliases without having to source your profile
repeatedly.
Autocompletion of aliases.
Usage
dcd <alias>
Changes to the directory alias which matches the parameter
listed for in the file ~/.dcd/dcd.conf
dcd -e
Edit the list of directory aliases via an editor
dcd -l
List the directory alias file.
dcd -q
Figure out what aliases are associated with the current
directory.
dcd -d
Remove any aliases pointing to the current directory from
the dcd config file.
dcd -a
Add the current directory to the dcd.conf file using the
provided alias.