Mercurial > pkg
annotate defaults/bashrc @ 5:0cad381d72d5
create initial package user defaults and hg wrapper.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 08 Jan 2013 15:50:27 +0000 |
parents | |
children | 941970bc92e3 |
rev | line source |
---|---|
rlm@5 | 1 #!/bin/bash |
rlm@5 | 2 set +h |
rlm@5 | 3 |
rlm@5 | 4 export PATH=\ |
rlm@5 | 5 "/home/r/system/usr/bin:\ |
rlm@5 | 6 /sbin/:\ |
rlm@5 | 7 /bin:\ |
rlm@5 | 8 /usr/sbin:\ |
rlm@5 | 9 /usr/bin:\ |
rlm@5 | 10 /tools/bin" |
rlm@5 | 11 |
rlm@5 | 12 alias ls="/bin/ls --color=auto " |
rlm@5 | 13 export ls |
rlm@5 | 14 alias la="ls -la" |
rlm@5 | 15 export la |
rlm@5 | 16 |
rlm@5 | 17 # some personal shortcuts |
rlm@5 | 18 alias r="reset" |
rlm@5 | 19 export r |
rlm@5 | 20 alias sl=ls |
rlm@5 | 21 export sl |
rlm@5 | 22 alias l=ls |
rlm@5 | 23 export l |
rlm@5 | 24 |
rlm@5 | 25 colors="/etc/dircolors" |
rlm@5 | 26 |
rlm@5 | 27 if [ $DARKTERM ]; then |
rlm@5 | 28 TMP=`mktemp` |
rlm@5 | 29 cat $colors /home/r/config/ls/dark-term > $TMP |
rlm@5 | 30 colors=$TMP |
rlm@5 | 31 unset TMP |
rlm@5 | 32 fi |
rlm@5 | 33 eval $(dircolors -b $colors) |
rlm@5 | 34 unset colors |
rlm@5 | 35 |
rlm@5 | 36 export HGEDITOR="emacs" |
rlm@5 | 37 |
rlm@5 | 38 alias hg="~/.hgwrapper" |
rlm@5 | 39 |
rlm@5 | 40 |