]>
Commit | Line | Data |
---|---|---|
5266f627 | 1 | # /etc/bashrc |
2 | ||
3 | # System wide functions and aliases | |
4 | # Environment stuff goes in /etc/profile | |
5 | ||
f1de13dd PG |
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 | |
4556fc70 | 17 | |
f059f7fe | 18 | alias which="type -p" |
4556fc70 | 19 | |
f685cf89 | 20 | # SYSTEM WIDE ALIASES ETC. |
21 | for i in `find /etc/shrc.d -name '*.sh'` ; do | |
d24a5bf7 | 22 | . $i |
4556fc70 | 23 | done |
238a827d | 24 | unset i |
aafe766f TP |
25 | |
26 | stty erase `tput kbs` |