Skip to content

Instantly share code, notes, and snippets.

@erin-dot-io
Created August 6, 2015 23:12
Show Gist options
  • Save erin-dot-io/619cf5e98d14d56b1b8e to your computer and use it in GitHub Desktop.
Save erin-dot-io/619cf5e98d14d56b1b8e to your computer and use it in GitHub Desktop.
Bash Profile Mac OSX (2015)
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
PS1='\T \[\e[01;37m\]\u@\h \W $\[\e[0m\] '
alias ll='ls -l'
export PGHOST=localhost
export RBENV_ROOT=/usr/local/var/rbenv
export PATH="/usr/local/bin:$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
# if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
export MARKPATH=$HOME/.marks
function jump {
cd -P "$MARKPATH/$1" 2>/dev/null || echo "No such mark: $1"
}
function mark {
mkdir -p "$MARKPATH"; ln -s "$(pwd)" "$MARKPATH/$1"
}
function unmark {
rm -i "$MARKPATH/$1"
}
function marks {
\ls -l "$MARKPATH" | tail -n +2 | sed 's/ / /g' | cut -d' ' -f9- | awk -F ' -> ' '{printf "%-10s -> %s\n", $1, $2}'
}
[ -s "/Users/ekeeffe/.nvm/nvm.sh" ] && . "/Users/ekeeffe/.nvm/nvm.sh" # This loads nvm
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment