]> git.pld-linux.org Git - packages/bash.git/blame - bashrc
- copy/paste bash part from profile
[packages/bash.git] / bashrc
CommitLineData
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
7if [ ! "$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
16fi
4556fc70 17
f059f7fe 18alias which="type -p"
4556fc70 19
f685cf89 20# SYSTEM WIDE ALIASES ETC.
21for i in `find /etc/shrc.d -name '*.sh'` ; do
d24a5bf7 22 . $i
4556fc70 23done
238a827d 24unset i
aafe766f
TP
25
26stty erase `tput kbs`
This page took 0.08393 seconds and 4 git commands to generate.