Mercurial > pkg
annotate src/profile @ 20:c75924bd38e3
fix security hole relating to path for package user.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 10 Jan 2013 04:25:17 +0000 |
parents | cd47c42f1d0a |
children | 4c49f8e6d79d |
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@6 | 12 alias ls="/usr/bin/env 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 eval $(dircolors -b $colors) |
rlm@5 | 27 unset colors |
rlm@5 | 28 |
rlm@5 | 29 export HGEDITOR="emacs" |
rlm@5 | 30 |
rlm@12 | 31 alias hg="~/.hg-wrapper --config ui.username=`whoami`" |
rlm@7 | 32 |
rlm@12 | 33 PS1="\[$(tput setaf 3)\][\u \w] % \[$(tput sgr0)\]" |