Created
May 31, 2017 16:06
-
-
Save mocon/0baf15e62163a07cb957888559d1b054 to your computer and use it in GitHub Desktop.
Example `.bash_profile` file
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
# 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!" |
helpful it gave some insights to setup my development environment
if you type "cd" without arguments, it navigates into home directory
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good starter.