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