Guest User

Untitled

a guest
Jun 25th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. #
  2. # ~/.bashrc
  3. #
  4.  
  5. # If not running interactively, don't do anything
  6. [[ $- != *i* ]] && return
  7.  
  8. parse_git_branch() {
  9. git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
  10. }
  11.  
  12. # PS1's
  13. # 'tioxy' export PS1="\n\[\033[38;5;226m\]\u\[$(tput sgr0)\]\[\033[38;5;141m\]@\h\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;51m\][\w]\[$(tput sgr0)\]\[\033[38;5;15m\]\$(parse_git_branch) \n\\$ \[$(tput sgr0)\]"
  14. # 'root' export PS1="\n\[\033[38;5;9m\]\u\[$(tput sgr0)\]\[\033[38;5;141m\]@\h\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;51m\][\w]\[$(tput sgr0)\]\[\033[38;5;15m\]\$(parse_git_branch) \n\\$ \[$(tput sgr0)\]"
  15.  
  16. alias ls='ls --color=auto'
  17. alias ll='ls --color=auto -lah --group-directories-first'
  18.  
  19.  
  20. # >>> Added by cnchi installer
  21. BROWSER=/usr/bin/chromium
  22. EDITOR=/usr/bin/vim
Add Comment
Please, Sign In to add comment