Skip to content

Instantly share code, notes, and snippets.

@calvinf
Created December 8, 2010 19:12
Show Gist options
  • Save calvinf/733739 to your computer and use it in GitHub Desktop.
Save calvinf/733739 to your computer and use it in GitHub Desktop.
TCSH Shell Configuration
# keyboard bindings: http://www.ibb.net/~anne/keyboard/keyboard.html
if ($term == "xterm" || $term == "vt100" \
|| $term == "vt102" || $term !~ "con*") then
# bind keypad keys for console, vt100, vt102, xterm
bindkey "\e[1~" beginning-of-line # Home
bindkey "\e[7~" beginning-of-line # Home rxvt
bindkey "\e[2~" overwrite-mode # Ins
bindkey "\e[3~" delete-char # Delete
bindkey "\e[4~" end-of-line # End
bindkey "\e[8~" end-of-line # End rxvt
endif
# command prompt: http://www.nparikh.org/unix/prompt.php
setenv PROMPT '[%n@%m:%c]%#'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment