Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # ~/.bashrc
- #
- alias sudo='sudo '
- alias ls='ls --color=always'
- alias dmesg='dmesg --color=always'
- alias grep='grep --color=always'
- alias gcc='gcc -fdiagnostics-color=always'
- alias pacman='pacman --color=always'
- alias dir='dir --color=always'
- alias pi='sudo pacman -S'
- alias pf='pacman -Ss'
- alias pd='sudo pacman -Rs'
- alias yi='yaourt -S'
- alias yf='yaourt -Ss'
- alias yd='yaourt -Rs'
- INPUT_COLOR="\[\033[0m\]"
- DIR_COLOR=""
- DIR="\[\033[38;5;39m\]\w\[$(tput sgr0)\]"
- USER_NAME="\[\033[38;5;34m\][\[$(tput sgr0)\]\[\033[38;5;51m\]\u\[$(tput sgr0)\]\[\033[38;5;28m\]::\[$(tput sgr0)\]\[\033[38;5;51m\]\H\[$(tput sgr0)\]\[\033[38;5;34m\]]\[$(tput sgr0)\]"
- SYMBOL="\[\033[0;32m\]>"
- if [[ ${EUID} == 0 ]]; then
- USER_NAME="\[\033[38;5;34m\][\[$(tput sgr0)\]\[\033[38;5;160m\]\u\[$(tput sgr0)\]\[\033[38;5;34m\]::\[$(tput sgr0)\]\[\033[38;5;51m\]\H\[$(tput sgr0)\]\[\033[38;5;34m\]]\[$(tput sgr0)\]"
- SYMBOL="\[\033[38;5;160m\]>"
- fi
- PS1="$USER_NAME $DIR_COLOR$DIR $SYMBOL $INPUT_COLOR"
Advertisement
Add Comment
Please, Sign In to add comment