view 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
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="/usr/bin/env 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"
26 eval $(dircolors -b $colors)
27 unset colors
29 export HGEDITOR="emacs"
31 alias hg="~/.hg-wrapper --config ui.username=`whoami`"
33 PS1="\[$(tput setaf 3)\][\u \w] % \[$(tput sgr0)\]"