]> git.pld-linux.org Git - packages/bash.git/blame - bashrc
- there is no need to drop nxterm
[packages/bash.git] / bashrc
CommitLineData
5266f627 1# /etc/bashrc
2
3# System wide functions and aliases
4# Environment stuff goes in /etc/profile
5
5c06e41e 6# If this is an xterm set the title to user@host:dir
b0aaff1e 7case $TERM in
dc0d503c 8 gnome|nxterm|xterm*|rxvt*)
5c06e41e 9 PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
b0aaff1e
PG
10 ;;
11 *)
b0aaff1e
PG
12 ;;
13esac
5c06e41e 14PS1="[\u@\h \W]\\$ "
4556fc70 15
f059f7fe 16alias which="type -p"
4556fc70 17
f685cf89 18# SYSTEM WIDE ALIASES ETC.
5eb0c7e4
ER
19if [ "$(echo /etc/shrc.d/*.sh)" != "/etc/shrc.d/*.sh" ]; then
20 for i in /etc/shrc.d/*.sh; do
21 . $i
22 done
23 unset i
24fi
This page took 0.081283 seconds and 4 git commands to generate.