Mercurial > pkg
comparison 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 |
comparison
equal
deleted
inserted
replaced
4:fe56b4698cf8 | 5:0cad381d72d5 |
---|---|
1 #!/bin/bash | |
2 set +h | |
3 | |
4 export PATH=\ | |
5 "/home/r/system/usr/bin:\ | |
6 /sbin/:\ | |
7 /bin:\ | |
8 /usr/sbin:\ | |
9 /usr/bin:\ | |
10 /tools/bin" | |
11 | |
12 alias ls="/bin/ls --color=auto " | |
13 export ls | |
14 alias la="ls -la" | |
15 export la | |
16 | |
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 | |
24 | |
25 colors="/etc/dircolors" | |
26 | |
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 | |
35 | |
36 export HGEDITOR="emacs" | |
37 | |
38 alias hg="~/.hgwrapper" | |
39 | |
40 |