Skip to content

Instantly share code, notes, and snippets.

@dyspop
Created September 15, 2016 20:57
Show Gist options
  • Save dyspop/fa060f79d77c64eadd9a9b742559f1a9 to your computer and use it in GitHub Desktop.
Save dyspop/fa060f79d77c64eadd9a9b742559f1a9 to your computer and use it in GitHub Desktop.
my bash_profile
#aliases
alias rmdirectory='rm -rf'
alias ll='ls -artlhG'
alias get='curl -OL'
alias g='grep -i'
alias sublime='subl'
alias gl='git log'
alias gh='git log'
alias rmdir='rm -rf'
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
# Setting PATH for Python 3.4
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}"
export PATH
# Git configuration
# Branch name in prompt
source ~/.git-prompt.sh
PS1='[\W$(__git_ps1 " (%s)")]\$ '
export PROMPT_COMMAND='echo -ne "\033]0;${PWD/#$HOME/~}\007"'
# Tab completion for branch names
source ~/.git-completion.bash
[[ -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