Skip to content

Instantly share code, notes, and snippets.

@wc2184
Forked from mocon/.bash_profile
Last active April 16, 2024 02:24
Show Gist options
  • Save wc2184/205d98c67a795315a4926b111a9f0075 to your computer and use it in GitHub Desktop.
Save wc2184/205d98c67a795315a4926b111a9f0075 to your computer and use it in GitHub Desktop.
Example `.bash_profile` file
# FOR NYU SERVERS use .bashrc
# Edit this file
alias aliases="nano ~/.bash_profile" # usage: type `aliases` in Terminal
# Navigate to location
alias home="cd ~"
alias desktop="cd ~/Desktop/"
alias repos="cd ~/Documents/Repos/"
# Navigate to project directory
alias ds="clear && cd ~/Documents/Repos/design-system"
alias docs="clear && cd ~/Documents/Repos/design-system-docs"
# MacOS System
alias showhiddenfiles="defaults write com.apple.finder AppleShowAllFiles YES" # requires Finder relaunch
alias hidehiddenfiles="defaults write com.apple.finder AppleShowAllFiles NO" # requires Finder relaunch
# Example exported environment variable
export SOME_SECRET_PASSWORD="password123!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment