Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # ~/.bashrc
- #
- # If not running interactively, don't do anything
- [[ $- != *i* ]] && return
- parse_git_branch() {
- git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
- }
- # PS1's
- # '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)\]"
- # '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)\]"
- alias ls='ls --color=auto'
- alias ll='ls --color=auto -lah --group-directories-first'
- # >>> Added by cnchi installer
- BROWSER=/usr/bin/chromium
- EDITOR=/usr/bin/vim
Add Comment
Please, Sign In to add comment