]> git.pld-linux.org Git - packages/bash.git/blob - bashrc
9c52184b86f529be6855ae472d8edb057a44b44b
[packages/bash.git] / bashrc
1 # /etc/bashrc
2
3 # System wide functions and aliases
4 # Environment stuff goes in /etc/profile
5
6 # If shell is run in environment without set PS1
7 if [ ! "$PS1" ]; then
8         case $TERM in
9                 gnome|xterm*|rxvt)
10                         PS1="\[\033]0;\u@\h: \w\007\][\u@\h \W]\\$ "
11                         ;;
12                 *)
13                         PS1="[\u@\h \W]\\$ "
14                         ;;
15         esac
16 fi
17
18 alias which="type -p"
19
20 # SYSTEM WIDE ALIASES ETC.
21 for i in `find /etc/shrc.d -name '*.sh'` ; do
22         . $i
23 done
24 unset i
25
26 stty erase `tput kbs`
This page took 0.039467 seconds and 2 git commands to generate.