comparison tcsh @ 25:e0b9a89a559d

Support for "before" script.
author Edho Prima Arief <me@myconan.net>
date Fri, 21 Jan 2011 05:32:12 +0000
parents 73123c5ef818
children 330587be514c
comparison
equal deleted inserted replaced
24:75c0cedc20ee 25:e0b9a89a559d
1 #!/usr/bin/env tcsh 1 #!/usr/bin/env tcsh
2 [ -e "${HOME}/.tcsh_init.before" ] && source "${HOME}/.tcsh_init.before"
2 umask 22 3 umask 22
3 limit coredumpsize 0 4 limit coredumpsize 0
4 5
5 set prompt="[%B%n@%m %~%b]%# " 6 set prompt="[%B%n@%m %~%b]%# "
6 set path=({,/usr}/{bin,sbin} "${HOME}"/{,.ecos.}bin) 7 set path=({,/usr}/{bin,sbin} "${HOME}"/{,.ecos.}bin)
90 endsw 91 endsw
91 unset gnuls_opts 92 unset gnuls_opts
92 93
93 ( which vim ) > /dev/null && alias vi vim 94 ( which vim ) > /dev/null && alias vi vim
94 95
95 [ -e "${HOME}/.tcsh_exec" ] && source "${HOME}/.tcsh_exec" 96 [ -e "${HOME}/.tcsh_init.after" ] && source "${HOME}/.tcsh_init.after"