comparison rc/tcsh @ 322:799d3bd1bfa1

Even more merges >_>
author Edho Arief <edho@myconan.net>
date Sun, 18 Mar 2012 13:16:54 +0700
parents e59a766d5fa3
children
comparison
equal deleted inserted replaced
312:110d50856dde 322:799d3bd1bfa1
55 case xterm*: 55 case xterm*:
56 case dtterm: 56 case dtterm:
57 case screen*: 57 case screen*:
58 setenv CLICOLOR 58 setenv CLICOLOR
59 set myhost=`hostname | cut -d '.' -f 1` 59 set myhost=`hostname | cut -d '.' -f 1`
60 set prompt="[%{\033[0;33m%}%n%{\033[0m%}@%{\033[0;32m%}%m%{\033[0m%} %{\033[1;34m%}%c%{\033[0m%}]%# " 60 set prompt="[%{\033[0;33m%}%n%{\033[0m%}@%{\033[0;32m%}%m%{\033[0m%} %{\033[0;34m%}%c%{\033[0m%}]%# "
61 alias mypwd 'printf "%s\n" "${PWD}" | sed -e "s#^${HOME}#~#"' 61 alias mypwd 'printf "%s\n" "${PWD}" | sed -e "s#^${HOME}#~#"'
62 alias precmd 'printf "\033]0;${USER}@${myhost}: %s\007" "`mypwd`"' 62 alias precmd 'printf "\033]0;${USER}@${myhost}: %s\007" "`mypwd`"'
63 set iscolor=1 63 set iscolor=1
64 breaksw 64 breaksw
65 endsw 65 endsw
81 endif 81 endif
82 82
83 switch (`uname -s`) 83 switch (`uname -s`)
84 case FreeBSD: 84 case FreeBSD:
85 set path=(${path} /usr/local/{bin,sbin}) 85 set path=(${path} /usr/local/{bin,sbin})
86 setenv LSCOLORS ExGxFxdxCxegedabagExEx 86 setenv LSCOLORS "exfxcxdxbxegedabagacad"
87 alias ls ls -FG 87 alias ls ls -FG
88 ( which gnuls ) > /dev/null && alias ls gnuls ${gnuls_opts} 88 ( which gnuls ) > /dev/null && alias ls gnuls ${gnuls_opts}
89 alias man man -o 89 alias man man -o
90 alias rm rm -I 90 alias rm rm -I
91 alias top top -P 91 alias top top -P