Bashmarks Replacement
Closed this issue · 2 comments
samiconductor commented
If you're looking for a replacement for this project you can use CDPATH to give you similar functionally.
AnwarShah commented
Good thing to know. But I think this project has it's own usage.
svoboda-jan commented
If you want to use shorter names for directories when using CDPATH you can use symlinks.
For example, create a directory called shortcuts
, add it to CDPATH
and then add symlinks to desired direcories giving them short names.
export CDPATH="$HOME/Documents:$HOME/shortcuts:$CDPATH"
# add a shortcut
ln -sf ~/some/long/path/and-long-name ~/shortcuts/name
# usage:
cd name
# to see the physical path when you cd:
cd -P name