Skip to content

Instantly share code, notes, and snippets.

@SyNeto
Created June 27, 2013 10:31
Show Gist options
  • Save SyNeto/834fb2fc4623d9b8620f to your computer and use it in GitHub Desktop.
Save SyNeto/834fb2fc4623d9b8620f to your computer and use it in GitHub Desktop.
Mi archivo .bash_profile
export PATH="/usr/local/mysql/bin:$PATH"
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
alias clr='clear'
alias l='ls -lh'
alias ll='ls -lah'
#Configuracion virtualenvwrapper
export WORKON_HOME="$HOME/.virtualenvs"
source /usr/local/bin/virtualenvwrapper.sh
function parse_git_branch_and_add_brackets {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\ \[\1\]/'
}
PS1="\[\033[1;32m\][\w]\[\033[0;33m\]\$(parse_git_branch_and_add_brackets)
\[\033[1;37m\]$ \[\033[0;37m\]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment