-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtcshrc
52 lines (43 loc) · 1.36 KB
/
tcshrc
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
# Chille's .tcshrc
# Updated 2013-10-20
# Colors!
set color
alias h history 25
alias j jobs -l
alias foad su -m root -c "exec shutdown -p now"
alias ls ls -Fh --color
alias nano nano -w
alias scpresume rsync --partial --progress --rsh=ssh
alias vim open -a /Applications/MacPorts/MacVim.app/
alias mv mv -i
# Sort dotfiles first
setenv LC_COLLATE C
# A righteous umask
#umask 77
set autolist
set filec
set prompt="%{\033[0;1;32m%}[%{\033[37m%}%P %n%{\033[0;1;31m%}@%{\033[37m%}%M:%{\033[32m%}%{\033[33m%}%c6%{\033[32m%}]%{\033[0m%} "
set path = (/opt/local/bin /opt/local/sbin /sw/bin/ /sw/sbin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/X11R6/bin /usr/local/sbin $HOME/bin $HOME/bin/backup /usr/local/mysql/bin $HOME/bin/Sublime $HOME/.composer/vendor/bin /snap/bin /opt/sublime_merge $HOME/configs/bin)
setenv TERM rxvt
setenv EDITOR nano
setenv PAGER less
setenv BLOCKSIZE K
setenv LC_CTYPE en_US.UTF-8
setenv BROWSER opera
setenv TERMCMD rxvt
if ($?prompt) then
# An interactive shell -- set some stuff up
set filec
set history = 100
set savehist = 100
set mail = (/var/mail/$USER)
if ( $?tcsh ) then
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
endif
endif
rehash
set nobeep
# Always start from home directory
cd ~