Skip to content

Instantly share code, notes, and snippets.

@hepto
Created September 28, 2015 09:20
Show Gist options
  • Select an option

  • Save hepto/b11d77619fc6367f99a5 to your computer and use it in GitHub Desktop.

Select an option

Save hepto/b11d77619fc6367f99a5 to your computer and use it in GitHub Desktop.
.profile
if which ruby >/dev/null && which gem >/dev/null; then
PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH"
fi
PATH=$HOME/bin:$PATH
PS1="\[\e[0;37m\]\u@\h\[\e[m\] \[\e[0;36m\]\w\[\e[m\] \[\e[0;37m\]\$\[\e[m\] \[\e[0;36m\]"
trap 'printf "\e[0m"' DEBUG
export CLICOLOR=1
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
alias ll="ls -ahlF"
alias python=python3
alias pip=pip3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment