Created
October 6, 2016 16:52
-
-
Save javiromero/0d73a00a4c5935ef480a4ba946b22e91 to your computer and use it in GitHub Desktop.
Bash config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# ~/.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