Created
January 31, 2017 01:48
-
-
Save sgentile/57278056ae88ceff0e6ffb16be640df7 to your computer and use it in GitHub Desktop.
Example .Profile
This file contains hidden or 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
#~/.profile is the place to put stuff that applies to your whole session, such as programs that you want to start when you log in (but not graphical programs, | |
#they go into a different file), and environment variable definitions. | |
# syntax to just add multiple entries at the same time. If you want to add one line at a time it's more like export PATH="/usr/local/bin:$PATH" | |
# path does not need to be exported, but things like ANDROID_HOME do | |
export GOPATH=$HOME/golang | |
export STASH_CREDS=sgentile | |
export ANDROID_HOME=/Users/sgentile/Library/Android/sdk | |
PATH=$PATH:/usr/local/bin:$GOPATH/bin:$ANDROID_HOME/platform-tools:=$ANDROID_HOME/tools | |
# use this... http://superuser.com/questions/318809/linux-os-x-tar-incompatibility-tarballs-created-on-os-x-give-errors-when-unt | |
PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" | |
#Alias and functions | |
alias vim="/Applications/MacVim.app/Contents/MacOS/Vim" | |
alias listssh="cat ~/.ssh/config" | |
alias vi="vim" | |
alias ll="ls -la" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment