Bashrc
From Attie's Wiki
(Difference between revisions)
m (Created page with 'Below is the extended contents of my '.bashrc' file (after the system stuffs) <source lang="bash"> if [ "$BASH_DEPTH" = "" ]; then BASH_DEPTH=0 else BASH_DEPTH=$((BASH_DEPTH…') |
m |
||
Line 9: | Line 9: | ||
export BASH_DEPTH | export BASH_DEPTH | ||
export EDITOR="nano" | 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 | ||
alias nano="nano -wziSA -T 2" | alias nano="nano -wziSA -T 2" |
Revision as of 20:33, 8 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 alias nano="nano -wziSA -T 2" alias ll="ls -l" alias x="exit"