view 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
line wrap: on
line source
1 #!/bin/bash
2 set +h
4 export PATH=\
5 "/home/r/system/usr/bin:\
6 /sbin/:\
7 /bin:\
8 /usr/sbin:\
9 /usr/bin:\
10 /tools/bin"
12 alias ls="/bin/ls --color=auto "
13 export ls
14 alias la="ls -la"
15 export la
17 # some personal shortcuts
18 alias r="reset"
19 export r
20 alias sl=ls
21 export sl
22 alias l=ls
23 export l
25 colors="/etc/dircolors"
27 if [ $DARKTERM ]; then
28 TMP=`mktemp`
29 cat $colors /home/r/config/ls/dark-term > $TMP
30 colors=$TMP
31 unset TMP
32 fi
33 eval $(dircolors -b $colors)
34 unset colors
36 export HGEDITOR="emacs"
38 alias hg="~/.hgwrapper"