Using aliases in Terminal
Terminal can use aliases for frequently used commands. For example, I have this in my .profile: alias dl='cd Downloads/' to quickly change to my Download folder.
I'm wondering how I can alias the path to a folder and make it usable inside of a shell command. I've added alias dt='Desktop/' to my profile, but when I try to do a command such as "ls dt" (which should list the contents of my Desktop folder), it fails. Any advice on making this work?
15" i5 MacBook 2.4GHz, Mac OS X (10.6.5)