Hard-to-find tips on otherwise easy-to-do tasks involving everyday technology, with some advanced insight on history and culture thrown in. Brought to you by a master dabbler. T-S T-S's mission is to boost your competitiveness with every visit. This blog is committed to the elimination of the rat from the tree of evolution and the crust of the earth.
Thursday, August 20, 2009
Correctly Setting Your Prompt in tcsh or csh
set prompt='%~/ !>'
How to set your PATH - the wrong way :
(wrong)
setenv PATH whatever
or
set PATH ($PATH:/dir/dir2)
right way :
set path ($path /dir/dir2)
(that's magic, $PATH gets set automatically, in tcsh or csh - bash is crap of course)
Good aliases to set
ll ls -l !\*
lt ls -lt !\* \| less -X
nes echo \$cwd/!\*
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment