3 # User specific aliases and functions
5 # This files should only contain environment variables and such. Do
6 # not run any programs in here. Their output will be presenet in
7 # 'less' and other commands which spawn a shell.
9 # Source global definitions
10 if [ -f /etc/bashrc ]; then
13 if [ -f /local/skel/all.bashrc ]; then
14 . /local/skel/all.bashrc
17 if [ -f "$HOME/.environment" ]; then
20 alias ls="ls $LS_OPTIONS"
21 alias ssh='ssh-add -l > /dev/null 2>&1 || ssh-add ; \ssh'
23 ATTR_FET="\[\033[1m\]"
24 ATTR_UND="\[\033[4m\]"
25 ATTR_INV="\[\033[7m\]"
29 linux|*xterm*|ansi|linux-lat|*Eterm*)
30 export PS1=": ${ATTR_FET}\u@\h${CHROOT} \w \\\$${ATTR_AV} "
31 export PS2="${ATTR_FET}>${ATTR_AV}";;
33 export PS1="\u@\h${CHROOT}:\w\$ "
37 alias mirror="wget --mirror --no-parent --convert-links -P $HOME/data/www-mirror "