~/.cshrc - user specific settings
/etc/csh.cshrc - global settings
Color Prompt: display hostname in red color for shell prompt (read more here):
set prompt="%{\033[1;31m%}%m %{\33[34m%}%. %{\033[0m%}%# " set promptchars = "%#"or if above doesn't work:
alias setprompt 'set prompt="%{\033[1;31m%}`/bin/hostname -s` %{\33[34m%}$cwd:t %{\033[0m%}# "' setprompt alias cd 'chdir \!* && setprompt'List directories in color:
alias ls ls -GDel Key In Terminal:
bindkey ^[[3~ delete-char
Thanks for this:
ReplyDeletebindkey ^[[3~ delete-char