Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'yet another way...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
yet another way...
Authored by: charlietuna on Nov 06, '01 03:36:31PM

this provides similar functionality, but not exactly the same. i prefer it because it keeps my root folder uncluttered. as it is i already have enough "TheVolumeSettings" and "Desktop DB" stuff that makes it look unelegant... but to the tip:

in tcsh you can set a variable called "cdpath" that includes a list of directories which are searched whenever you "cd" to another directory. perhaps this also would apply to pushd as well.

currently, you can type "cd Music" anywhere in your filesystem and if you aren't in a directory that contains a directory named Music, you will be switched over to ~/Music. if you do this in your .cshrc:

set cdpath = (~/ /Volumes)

you can do the same thing. if you have a partition named Classic, you can type "cd Classic" and you'll be put at /Volumes/Classic. tab completion does not work here, so you'll have to type the full name yourself.

[ Reply to This | # ]
Authored by: foamy on Nov 06, '01 03:54:25PM

That was very cool. Using it already.

[ Reply to This | # ]
yet another way...
Authored by: jmil on Nov 06, '01 04:01:10PM


[ Reply to This | # ]