Skip to content

Instantly share code, notes, and snippets.

@jameskraai
Created May 7, 2015 21:03
Show Gist options
  • Save jameskraai/b5e4cd5a5f2da850bdaf to your computer and use it in GitHub Desktop.
Save jameskraai/b5e4cd5a5f2da850bdaf to your computer and use it in GitHub Desktop.
# Set PATH variable
pathdirs=(
$HOME/bin
$HOME/.composer/vendor/bin
$HOME/.rbenv/bin
)
for dir in $pathdirs; do
if [ -d $dir ]; then
path+=$dir
fi
done
# Custom aliases
alias path="echo $PATH | tr : '\n'"
alias k="clear"
alias fonts-rehash="sudo fc-cache -f -v"
# Initialize rbenv
eval "$(rbenv init -)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment