Skip to content

Instantly share code, notes, and snippets.

@deepankarb
Created January 31, 2017 06:28
Show Gist options
  • Save deepankarb/db117e7003b5842c807736148d0ee9b1 to your computer and use it in GitHub Desktop.
Save deepankarb/db117e7003b5842c807736148d0ee9b1 to your computer and use it in GitHub Desktop.
bashrc
#PS1
#export PS1="\[\e[01;32m\]\A\[\e[0m\]\[\e[00;37m\] \[\e[0m\]\[\e[00;34m\]\w\[\e[0m\]\[\e[00;37m\] \[\e[0m\]\[\e[00;34m\]\\$\[\e[0m\]\[\e[00;37m\] \[\e[0m\]"
export PS1="\[\e[00;34m\]\w\[\e[0m\]\[\e[00;37m\]\n\[\e[0m\]\[\e[01;32m\]\A\[\e[0m\]\[\e[00;37m\] \[\e[0m\]\[\e[00;34m\]\\$\[\e[0m\]\[\e[00;37m\] \[\e[0m\]"
# gitprompt configuration
# Set config variables first
GIT_PROMPT_ONLY_IN_REPO=1
# as last entry source the gitprompt script
source /home/"$(whoami)"/.bash-git-prompt/gitprompt.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment