]>
Commit | Line | Data |
---|---|---|
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` |