Last active
January 19, 2020 21:59
-
-
Save riceball1/efdecbc4c893fbf4cf09cbeabeb30e40 to your computer and use it in GitHub Desktop.
My Bash Profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################## | |
### 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