Skip to content

Instantly share code, notes, and snippets.

@lchi
Created May 30, 2012 02:12
Show Gist options
  • Save lchi/2832809 to your computer and use it in GitHub Desktop.
Save lchi/2832809 to your computer and use it in GitHub Desktop.
laptop bashrc
export EDITOR='/usr/bin/vim'
alias ll='ls -l'
alias ws='cd ~/workspace'
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
GIT_PS1_SHOWDIRTYSTATE=true
GIT_PS1_SHOWSTASHSTATE=true
GIT_PS1_SHOWUNTRACKEDFILES=true
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[01;34m\] \w $(__git_ps1 "[%s] ")\$ \[\033[00m\]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment