Skip to content

Instantly share code, notes, and snippets.

@joaopaulovieira
Created May 30, 2018 17:51
Show Gist options
  • Select an option

  • Save joaopaulovieira/2cc86863bcc8edec696e4230b43ddec8 to your computer and use it in GitHub Desktop.

Select an option

Save joaopaulovieira/2cc86863bcc8edec696e4230b43ddec8 to your computer and use it in GitHub Desktop.
export GREP_OPTIONS="--color=auto"
export GREP_COLOR="4;33"
export CLICOLOR="auto"
export CLICOLOR="1"
export LSCOLORS="ExFxCxDxBxegedabagacad"
# show git branch
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
export PS1="\[\033[00m\]\u@\h\[\033[01;33m\] \w \[\033[31m\]\$(parse_git_branch)\[\033[00m\]$\[\033[00m\] "
alias ls="ls -G"
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Envs
source /usr/local/bin/virtualenvwrapper.sh
ulimit -S -n 1024
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
source ~/.profile
export PATH=/Users/joaopaulo.vieira/.rvm/gems/ruby-2.1.3/bin:/Users/joaopaulo.vieira/.rvm/gems/ruby-2.1.3@global/bin:/Users/joaopaulo.vieira/.rvm/rubies/ruby-2.1.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Users/joaopaulo.vieira/.rvm/bin:/Users/joaopaulo.vieira/.rvm/bin:/usr/local/mysql/bin
alias fuck='eval $(thefuck $(fc -ln -1)); history -r'
alias FUCK='fuck'
##
# Your previous /Users/joaopaulo.vieira/.bash_profile file was backed up as /Users/joaopaulo.vieira/.bash_profile.macports-saved_2015-11-12_at_18:12:33
##
# MacPorts Installer addition on 2015-11-12_at_18:12:33: adding an appropriate PATH variable for use with MacPorts.
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
# Finished adapting your PATH environment variable for use with MacPorts.
export PATH="/usr/local/bin:$PATH"
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
export PATH="$PATH:$HOME/omnetpp-4.6/bin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment