comparison tcsh @ 102:7a287a518718

Merge.
author Edho Prima Arief <edho@myconan.net>
date Thu, 18 Aug 2011 15:20:54 +0700
parents 1057412834a5
children b5bda3ecfbd9
comparison
equal deleted inserted replaced
89:29bd7f6ef58a 102:7a287a518718
1 #!/usr/bin/env tcsh 1 #!/usr/bin/env tcsh
2 [ -e "${HOME}/.tcsh_init.before" ] && source "${HOME}/.tcsh_init.before" 2 [ -e "${HOME}/.ecos_tcsh.before" ] && source "${HOME}/.ecos_tcsh.before"
3 umask 22 3 umask 22
4 limit coredumpsize 0 4 limit coredumpsize 0
5 5
6 set prompt="[%B%n@%m %~%b]%# " 6 set prompt="[%B%n@%m %~%b]%# "
7 set path=({,/usr}/{bin,sbin} "${HOME}"/{,.ecos.}bin) 7 set path=({,/usr}/{bin,sbin} "${HOME}"/{,.ecos_}bin)
8 set history=1000 8 set history=1000
9 set savehist=1000 9 set savehist=1000
10 set nobeep 10 set nobeep
11 set filec 11 set filec
12 12
20 unset autoexpand 20 unset autoexpand
21 unset autolist 21 unset autolist
22 unset ignoreeof 22 unset ignoreeof
23 23
24 unalias \* 24 unalias \*
25 alias rd "rdesktop -g 1280x700 -K -a 16 -z -P -r sound:off -r clipboard:CLIPBOARD -5"
25 alias h history 25 26 alias h history 25
26 alias j jobs -l 27 alias j jobs -l
27 alias la ls -A 28 alias la ls -A
28 alias ll ls -lA 29 alias ll ls -lA
29 alias ls ls -F 30 alias ls ls -F
67 setenv LSCOLORS ExGxFxdxCxegedabagExEx 68 setenv LSCOLORS ExGxFxdxCxegedabagExEx
68 alias ls ls -FG 69 alias ls ls -FG
69 ( which gnuls ) > /dev/null && alias ls gnuls ${gnuls_opts} 70 ( which gnuls ) > /dev/null && alias ls gnuls ${gnuls_opts}
70 alias man man -o 71 alias man man -o
71 alias rm rm -I 72 alias rm rm -I
73 alias top top -P
72 breaksw 74 breaksw
73 case NetBSD: 75 case NetBSD:
74 set path=(${path} /usr/pkg/{bin,sbin}) 76 set path=(${path} /usr/pkg/{bin,sbin})
75 breaksw 77 breaksw
76 case OpenBSD: 78 case OpenBSD:
93 endsw 95 endsw
94 unset gnuls_opts 96 unset gnuls_opts
95 97
96 ( which vim ) > /dev/null && alias vi vim && setenv EDITOR vim 98 ( which vim ) > /dev/null && alias vi vim && setenv EDITOR vim
97 99
98 [ -e "${HOME}/.tcsh_init.after" ] && source "${HOME}/.tcsh_init.after" 100 [ -e "${HOME}/.ecos_tcsh.after" ] && source "${HOME}/.ecos_tcsh.after"
101
102 [ -x "/usr/games/fortune" ] && "/usr/games/fortune"