]>
Commit | Line | Data |
---|---|---|
5266f627 | 1 | # /etc/bashrc |
2 | ||
3 | # System wide functions and aliases | |
4 | # Environment stuff goes in /etc/profile | |
5 | ||
b0aaff1e PG |
6 | # We set PS1 for each terminal: |
7 | case $TERM in | |
00834a08 | 8 | gnome|nxterm|xterm*|rxvt) |
b0aaff1e PG |
9 | PS1="\[\033]0;\u@\h: \w\007\][\u@\h \W]\\$ " |
10 | ;; | |
11 | *) | |
12 | PS1="[\u@\h \W]\\$ " | |
13 | ;; | |
14 | esac | |
27d6a74f | 15 | export PS1 |
4556fc70 | 16 | |
f059f7fe | 17 | alias which="type -p" |
4556fc70 | 18 | |
f685cf89 | 19 | # SYSTEM WIDE ALIASES ETC. |
20 | for i in `find /etc/shrc.d -name '*.sh'` ; do | |
d24a5bf7 | 21 | . $i |
4556fc70 | 22 | done |
238a827d | 23 | unset i |
aafe766f | 24 | |
6e8e0f6b | 25 | [ -n "$TERM" ] && tty >/dev/null 2>&1 && stty erase `tput kbs` |