Skip to content

Instantly share code, notes, and snippets.

@codeincontext
Created October 27, 2011 11:38
Show Gist options
  • Save codeincontext/1319329 to your computer and use it in GitHub Desktop.
Save codeincontext/1319329 to your computer and use it in GitHub Desktop.
.bash_profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
alias ping='ping -c 5'
alias ..='cd ..'
export CLICOLOR=1
function mkcd() {
[ -n "$1" ] && mkdir -p "$@" && cd "$1";
}
function mkcdg() {
[ -n "$1" ] && mkdir -p "$@" && cd "$1" && git init;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment