-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcshrc
79 lines (64 loc) · 1.94 KB
/
cshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# .cshrc
#
set history = 100
set savehist = 100
set autocorrect
set filec
set autolist
set ignoreeof
# SETENV
setenv EDITOR 'vim'
setenv MANPAGER "col -b | view -c 'set ft=man nomod nolist' -"
umask 022
# ALIAS
alias cd.. cd ..
alias cd... cd ../..
alias cd- cd -
alias vi vim
alias view 'vim -R'
alias grep 'grep -d skip'
alias la 'ls -AF --color=auto'
alias lla 'ls -AlhF --color=auto --time-style=long-iso'
alias ll 'ls -lhF --color=auto --time-style=long-iso'
alias lm 'ls -lh | more'
#alias ls 'ls -F --color=auto'
alias cp 'cp -ri'
alias mv 'mv -i'
alias rm 'rm -ri'
alias cls 'clear; pwd'
alias xx 'exit'
alias zz 'exit'
alias src 'source ~/.cshrc'
alias so 'source'
# PATH
set path = ($path /usr/local/bin* . lib /usr/bin)
setenv PS1 '[\A][\u@\H:\w]\$[\#]>'
# unique history
set histdup='all'
# auto-complete
set complete='enhance'
# ignore end of characters when auto-complete
set fignore=(.o .out \~)
# display auto list when TAB
set autolist
# C-j C-k
bindkey "^M" complete-word-fwd
bindkey "^K" complete-word-back
#
alias cd 'cd \!*; echo -n "^[]0;${cwd}^Gcsh% "'
#######################################
# CVS SETTING
#######################################
# CVS in KMC
#setenv CVS_RSH ssh
#setenv CVSROOT :ext:bkn_fndr_cvs_mngr@asiccvs:/home/ASIC/fbkn/CVS_DB
#setenv CVSROOT :ext:[email protected]:/home/ASIC/fbkn/CVS_DB
#setenv CVSROOT :ext:km+z000023061@aloe1:/export1/ASIC/emerald/CVS_DB
#
#
alias kk 'kterm -n `hostname`:Black -sb -cr green -vb -sl 3000&'
alias kr 'kterm -n `hostname`:Red -bg red4 -fg white -cr green -sb -sl 3000 -vb &'
alias kg 'kterm -n `hostname`:Green -bg darkgreen -fg white -cr yellow2 -sb -sl 3000 -vb &'
alias kb 'kterm -n `hostname`:Blue -bg lightblue -fg black -cr red -sb -sl 3000 -vb &'
alias kw 'kterm -n `hostname`:White -bg white -fg black -cr red -sb -sl 3000 -vb &'
alias kd 'kterm -n `hostname`:Gray -bg darkgray -fg black -cr green -sb -sl 3000 -vb &'