Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example `.bash_profile` file
# 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!"
@jserrao

This comment has been minimized.

Copy link

jserrao commented Dec 5, 2017

Good starter.

@tresloukadu

This comment has been minimized.

Copy link

tresloukadu commented Jan 17, 2018

helpful it gave some insights to setup my development environment

@novellizator

This comment has been minimized.

Copy link

novellizator commented Mar 13, 2018

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
You can’t perform that action at this time.