]> git.pld-linux.org Git - packages/bash.git/blame - bashrc
- better test
[packages/bash.git] / bashrc
CommitLineData
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:
7case $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 ;;
14esac
27d6a74f 15export PS1
4556fc70 16
f059f7fe 17alias which="type -p"
4556fc70 18
f685cf89 19# SYSTEM WIDE ALIASES ETC.
20for i in `find /etc/shrc.d -name '*.sh'` ; do
d24a5bf7 21 . $i
4556fc70 22done
238a827d 23unset i
aafe766f 24
6e8e0f6b 25[ -n "$TERM" ] && tty >/dev/null 2>&1 && stty erase `tput kbs`
This page took 0.156703 seconds and 4 git commands to generate.