Bashrc
From Attie's Wiki
(Difference between revisions)
m |
m |
||
Line 1: | Line 1: | ||
− | Below is the extended contents of my '.bashrc' file (after the system stuffs) | + | Below is the extended contents of my '~/.bashrc' file (after the system stuffs) |
<source lang="bash"> | <source lang="bash"> |
Revision as of 08:36, 9 September 2011
Below is the extended contents of my '~/.bashrc' file (after the system stuffs)
if [ "$BASH_DEPTH" = "" ]; then BASH_DEPTH=0 else BASH_DEPTH=$((BASH_DEPTH + 1)) fi export BASH_DEPTH export EDITOR="nano" PS1="\[\e[0m\]#\[\e[94m\]#\[\e[34m\]# \[\e]0;\u@\h:\w\007\]\[\e[0;33m\]\T " PS1="$PS1\[\e[32m\]\u\[\e[90m\]@\[\e[35m\]\h\[\e[90m\]:\[\e[36m\[\w \[\e[0m\]" PS1="$PS1[\$BASH_DEPTH:\j] \[\e[34m\]#\[\e[94m\]#\[\e[0m\]#\n\$ " export PS1 export PATH=~/.bin:$PATH xrdb ~/.Xresources alias nano="nano -wziSA -T 2" alias less="less -cR" alias su="sudo su" alias ll="ls -l" alias x="exit"
See also Xresources