Skip to content

Instantly share code, notes, and snippets.

@javiromero
Created October 6, 2016 16:52
Show Gist options
  • Save javiromero/0d73a00a4c5935ef480a4ba946b22e91 to your computer and use it in GitHub Desktop.
Save javiromero/0d73a00a4c5935ef480a4ba946b22e91 to your computer and use it in GitHub Desktop.
Bash config
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
export WORKON_HOME=~/.virtualenvs
source /usr/bin/virtualenvwrapper.sh
if [ -f /usr/lib/bash-git-prompt/gitprompt.sh ]; then
# To only show the git prompt in or under a repository directory
GIT_PROMPT_ONLY_IN_REPO=1
# To use upstream's default theme
# GIT_PROMPT_THEME=Default
# To use upstream's default theme, modified by arch maintainer
GIT_PROMPT_THEME=Default_Arch
source /usr/lib/bash-git-prompt/gitprompt.sh
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment