Simple but most essential for me in tcsh's .tcshrc are the following
set autolist=ambigious
set autoexpand
set nobeep
set visiblebell
bindkey "\e[6~" history-search-forward
bindkey "\e[5~" history-search-backward
bindkey "\e[1~" beginning-of-line
bindkey "\e[4~" end-of-line
Tab completion is god, and the first two set things up so that
if there is no unambigious completion for the command on pressing
tab, then all the options are listed. I like that.
type the beginning of a command already used and press pageup
and get the previous command line you used with that beginning,
press is repeatedly and jump up your history finding matches. I
really like that. Im not gone on the substition syntax ! mechanism
at all so I rely on the bindkey stuff. And while im at it I use
home and end to do the obvious thing, I can definitely see an
migration path from doskey knocking around inside my .tcshrc now
that I look at it. Im really lost without my .tcshrc .xsession and
vimrc/.exrc.
Its been ages since I settled on these in my .tcshrc so maybe some
of them are no longer required. So it boils down to having a good
read of your shell's manpage and messing around for a while.
C.
Real Life: Caolan McNamara * Doing: MSc in HCI
Work: Caolan.McNamara at ul.ie * Phone: +353-86-8790257
URL: http://www.csn.ul.ie/~caolan * Sig: an oblique strategy
Into the impossible
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!