Skip to content

Instantly share code, notes, and snippets.

@woohooyeah
Last active March 28, 2016 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woohooyeah/111c81c05d9050fdd8c5 to your computer and use it in GitHub Desktop.
Save woohooyeah/111c81c05d9050fdd8c5 to your computer and use it in GitHub Desktop.
# dot.tcshrc
switch ($TERM)
case "xterm*":
set prompt="%{\033[31m%}%N%{\033[0m%}@%{\033[34m%}%m %B%{\033[32m%}%~%b %{\033[0m%}%# "
breaksw
case "screen-256color":
set prompt="%{\033[31m%}%N%{\033[0m%}@%{\033[34m%}%m %B%{\033[32m%}%~%b %{\033[0m%}%# "
breaksw
default:
set prompt="%N@%m %~ %# "
breaksw
endsw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment