Skip to content

Instantly share code, notes, and snippets.

@salma71
Created December 10, 2020 00:33
Show Gist options
  • Save salma71/e938b7e1c42e7736d8647a017a4d0626 to your computer and use it in GitHub Desktop.
Save salma71/e938b7e1c42e7736d8647a017a4d0626 to your computer and use it in GitHub Desktop.
# Enable tab completion
source ~/git-completion.bash
# colors!
green="\[\033[0;32m\]"
blue="\[\033[0;34m\]"
purple="\[\033[0;35m\]"
reset="\[\033[0m\]"
# Change command prompt
source ~/git-prompt.sh
export GIT_PS1_SHOWDIRTYSTATE=1
# '\u' adds the name of the current user to the prompt
# '\$(__git_ps1)' adds git-related stuff
# '\W' adds the name of the current directory
export PS1="$purple\u$green\$(__git_ps1)$blue \W $ $reset"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
#source $HOME/.rvm/scripts/rvm
export PATH="/usr/local/heroku/bin:$PATH"
export PATH="$HOME/.rvm/bin:$PATH"
export PYTHONPATH="/usr/local/Cellar/python/3.8.1/bin/python3:$PYTHONPATH"
# added by Anaconda3 5.2.0 installer
export PATH="/Users/salma_elshahawy/anaconda3/bin:$PATH"
# add maven PATH variable
export M2_HOME=/Applications/apache-maven-3.5.4
export PATH=$PATH:$M2_HOME/bin
## rbenv
Export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
# Setting PATH for Python 3.7
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}"
export PATH
export PATH=~/.npm-global/bin:$PATH
# added by Anaconda3 2019.03 installer
# >>> conda init >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$(CONDA_REPORT_ERRORS=false '/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
if [ $? -eq 0 ]; then
\eval "$__conda_setup"
else
if [ -f "/anaconda3/etc/profile.d/conda.sh" ]; then
. "/anaconda3/etc/profile.d/conda.sh"
CONDA_CHANGEPS1=false conda activate base
else
\export PATH="/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda init <<<
export PATH=$PATH:/usr/local/mysql/bin
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/salmaelshahawy/google-cloud-sdk/path.bash.inc' ]; then . '/Users/salmaelshahawy/google-cloud-sdk/path.bash.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/Users/salmaelshahawy/google-cloud-sdk/completion.bash.inc' ]; then . '/Users/salmaelshahawy/google-cloud-sdk/completion.bash.inc'; fi
# Setting PATH for Python 3.8
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.8/bin:${PATH}"
export PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment