Skip to content

Instantly share code, notes, and snippets.

@7ochem
Forked from Rud5G/gist:3496231
Last active October 13, 2015 07:27
Show Gist options
  • Save 7ochem/4160262 to your computer and use it in GitHub Desktop.
Save 7ochem/4160262 to your computer and use it in GitHub Desktop.
.bashrc
## here is the original ~/.bashrc
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
# Set the git sensative prompt
# Start withthe current time (24h) in green and the user@machine in blue
# Then the current path and $ cd to a git-dir.
#
PS1='\[\033[32m\]\A \[\033[34m\]\u@\h\[\033[0m\] \w\[\033[1;33m\]`__git_ps1`\[\033[0m\] \$ '
##_END_FILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment