Skip to content

Instantly share code, notes, and snippets.

@riceball1
Last active January 19, 2020 21:59
Show Gist options
  • Save riceball1/efdecbc4c893fbf4cf09cbeabeb30e40 to your computer and use it in GitHub Desktop.
Save riceball1/efdecbc4c893fbf4cf09cbeabeb30e40 to your computer and use it in GitHub Desktop.
My Bash Profile
##################
### MY ALIASES ###
##################
# git commamands simplified
alias gst='git status'
# simple commands
alias c='clear'
alias desk='cd ~/Desktop'
alias home='cd ~'
alias back='cd ..'
alias server='python -m SimpleHTTPServer 8000'
alias showfiles='defaults write com.apple.finder AppleShowAllFiles YES'
alias hidefiles='defaults write com.apple.finder AppleShowAllFiles NO'
# My customized prompt
export PS1="[\[\033[0;96m\] \d\[\033[0m\] \t \[\033[0;95m\] \u\[\033[0m\]:\W ] => "
# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment