Skip to content

Instantly share code, notes, and snippets.

@SingingBush
Last active December 8, 2017 15:11
Show Gist options
  • Save SingingBush/86cc79171b7885ac5015900ca6ce519b to your computer and use it in GitHub Desktop.
Save SingingBush/86cc79171b7885ac5015900ca6ce519b to your computer and use it in GitHub Desktop.
bash profile
#
# either ~/.bashrc or ~/.bash_profile
#
#
# User specific aliases and functions
alias du='du -kshc'
alias ls='ls -lhaGF --color'
export GOPATH=$HOME/.go
# Source git prompt (on Fedora)
source /usr/share/git-core/contrib/completion/git-prompt.sh
# git prompt (on Arch)
# source /usr/share/git/completion/git-prompt.sh
GIT_PS1_SHOWDIRTYSTATE=true
PS1="\n\[\e[1;37m\]┌───┤ \[\e[0;33m\]\d \[\e[30;1m\]■\[\e[0;33m\] \@\[\e[1;37m\] │ \[\e[1;34m\]\u\[\e[1;95m\]@\[\e[1;34m\]\h\[\e[1;95m\]:\[\e[1;32m\]\w\[\e[0;93m\]\$(__git_ps1)\n\[\e[1;37m\]└────╼\[\e[0m\] \$ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment