Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export TERM=xterm-256color
- source /etc/bash_completion
- source /etc/bash_completion.d/git
- ### PS1 SETTINGS =======================================================
- # show more git info in PS1
- export GIT_PS1_SHOWDIRTYSTATE="true"
- export GIT_PS1_SHOWUNTRACKEDFILES="true"
- export GIT_PS1_SHOWSTASHSTATE="true"
- # colors
- export PS1_GREY="\[$(tput bold; tput setaf 0)\]"
- export PS1_GREEN="\[$(tput bold; tput setaf 2)\]"
- export PS1_YELLOW="\[$(tput bold; tput setaf 3)\]"
- export PS1_MAGENTA="\[$(tput bold; tput setaf 5)\]"
- export PS1_CYAN="\[$(tput bold; tput setaf 6)\]"
- export PS1_WHITE="\[$(tput bold; tput setaf 7)\]"
- export PS1_RESET="\[$(tput sgr0)\]"
- export GIT_INFO=$(git branch &>/dev/null && echo "${PS1_GREY}on ${PS1_WHITE}$(__git_ps1 '%s')")
- export PS1="${PS1_MAGENTA}\u ${PS1_GREY}at${PS1_YELLOW} \h ${PS1_GREY}in${PS1_GREEN} \w ${GIT_INFO}\
- \n${PS1_WHITE}\\\$${PS1_RESET} "
- alias imgur='~/dotfiles/bash/imgurbash.sh'
- alias screenfetch='screenfetch -s'
- alias ls='ls --color=auto'
- alias dir='dir --color=auto'
- alias vdir='vdir --color=auto'
- alias grep='grep --color=auto'
- alias fgrep='fgrep --color=auto'
- alias egrep='egrep --color=auto'
- alias thetime='date +"It is %r on %A, %B %e".'
- alias whoami='echo "You are" $USER'
- alias whatshell='echo "You are using" $SHELL'
- alias hostname='echo "You are at" $HOSTNAME'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement