You don't need a shortcut file or anything like that.
You can set up an alias in
~/.bash_profile by adding the following line, so you just need to type
myFolderShortcut to go there (without
alias myFolderShortcut='cd /Users/danielbeck/Documents'
This works from any directory, but requires the
bash shell (which is OS X's default)
You can, of course, create symbolic links to other directories in your home directory. Then, when you open Terminal and are in your home directory,
cding takes you to the linked directory.
ln -s /Users/danielbeck/Documents/Projects myProjectsDir
cd myProjectsDir and you're there (the displayed path contains
myProjectsDir though, not
The symbolic link will show in Finder. To hide it, type
chflags hidden myProjectsDir.
This will only work when you're in your home directory to start with (
cd without arguments takes you there quickly).