Skip to content

Instantly share code, notes, and snippets.

@cassioscabral
Last active December 24, 2015 12:38
Show Gist options
  • Save cassioscabral/6798698 to your computer and use it in GitHub Desktop.
Save cassioscabral/6798698 to your computer and use it in GitHub Desktop.
bashrc calling bash_prompt with custom setup showing current branch, short PS1 and colored fonts.
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
HISTFILESIZE=100000000
alias ll="ls -la"
alias rss="python manage.py runserver 0.0.0.0:8000"
export PS1="[\u@\w]\$: "
alias cg="cd ~/git/"
alias restart_nginx='/usr/local/Cellar/nginx/1.4.1/bin/nginx -s reload'
alias mysass='sass --watch --sourcemap'
. ~/.nvm/nvm.sh
[ -r "$HOME/.bash_prompt" ] && source ~/.bash_prompt
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment