Tech Trip Reports Still Here External ArtKomiChen.com |
|
TCSH Tweaks Shells are designed so that you can immediately start using them, but it seems like you never stop learning or applying a new trick/tweak. Here are my list of tweaks. Options For Your .tcshrc/.cshrc Remember your tcshrc if executed everytime a shell is needed -> so keep login/prompt specific options in a separate area by enclosing them in: if (${?prompt})
then Every once in a while I'll be working at a site that doens't have tcsh <gasp!> so I'm forced to default to csh. As a result I wrap all my tcsh specific options in: if ($shell
=~ *tcsh) then Useful TCSH options to set:
alias cwdcmd 'echo -n "^[]2;${HOST}:$cwd^G"' On xterm tihs can be used to dyamnically switch your title bar. Note that the ^ is a CTRL character! You must literally insert a CTRL character in there for this to work (Use CTRL-V in vim). bindkey
"^B" backward-word Some standard bindings I have. CTRL-B, CTRL-F are sort of substitutes for the CTRL-LEFT, CTRL-RIGHT that windows folk are used to. Unfortunately I can't seem to bind those. Last Updated: March 28, 2000 Maintainer: Timothy Chen <babyduck@massconfusion.com> All Content is Copyrighted 1998-2003 by Timothy Chen All Rights Reserved unless clearly stated otherwise. |