dotfiles

andersuno dotfiles
git clone git://git.andersuno.nu/dotfiles.git
Log | Files | Refs | README

.bashrc (1277B)


      1 #
      2 # ~/.bashrc
      3 #
      4 
      5 # If not running interactively, don't do anything
      6 [[ $- != *i* ]] && return
      7 
      8 PS1='[\u@\h \W]\$ '
      9 
     10 if [ -f ~/.bash_aliases ]; then
     11     . ~/.bash_aliases
     12 fi
     13 
     14 
     15 #Foreground colors, Normal (non-bold) is the default, so the 0; prefix is optional.
     16 #
     17 #\e[0;30m = Dark Gray
     18 #\e[1;30m = Bold Dark Gray
     19 #\e[0;31m = Red
     20 #\e[1;31m = Bold Red
     21 #\e[0;32m = Green
     22 #\e[1;32m = Bold Green
     23 #\e[0;33m = Yellow
     24 #\e[1;33m = Bold Yellow
     25 #\e[0;34m = Blue
     26 #\e[1;34m = Bold Blue
     27 #\e[0;35m = Purple
     28 #\e[1;35m = Bold Purple
     29 #\e[0;36m = Turquoise
     30 #\e[1;36m = Bold Turquoise
     31 #\e[0;37m = Light Gray
     32 #\e[1;37m = Bold Light Gray
     33 #
     34 #Background colors:
     35 #
     36 #\e[40m = Dark Gray
     37 #\e[41m = Red
     38 #\e[42m = Green
     39 #\e[43m = Yellow
     40 #\e[44m = Blue
     41 #\e[45m = Purple
     42 #\e[46m = Turquoise
     43 #\e[47m = Light Gray
     44 
     45 #Vi mode
     46 #set -o vi
     47 
     48 
     49 #Exports
     50 #export PS1='┌──[\u@\h]─[\w]\n└──╼ \$ '
     51 #export PS1='\[\033[0;32m\]\u\[\033[1;33m\]@\[\033[0;31m\]\h\[\033[0m\]:\[\033[0;34m\]\w\[\033[0m\]\$ '
     52 
     53 export PS1="\[\e[1;32m\]┌──[\[\e[0;36m\]\u\[\e[0;32m\]@\[\e[0;31m\]\h\[\e[1;32m\]]─[\[\e[0;34m\]\w\[\e[1;32m\]]\n\[\e[1;32m\]└──╼ \$\[\e[0;0m\] "
     54 #export PS1="\[\e[1;32m\][\[\e[0;36m\]\u\[\e[0;32m\]@\[\e[0;31m\]\h\[\e[1;32m\]]─[\[\e[0;34m\]\w\[\e[1;32m\]]\$\[\e[0;0m\] "
     55 
     56 
     57 ~/Scripts/pfetch