Created
March 12, 2018 14:40
-
-
Save sgentile/a8a9fde84a7ac8e30898e36c93f84635 to your computer and use it in GitHub Desktop.
My 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
#~/.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/go | |
export PATH=$PATH:$GOPATH/bin | |
# 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 ws="cd ~/Workspaces" | |
alias projects="cd ~/Workspaces/Projects" | |
alias vim="/Applications/MacVim.app/Contents/MacOS/Vim" | |
alias listssh="cat ~/.ssh/config" | |
alias vi="vim" | |
alias ll="ls -la" | |
alias startdocker="eval '$(docker-machine env default)'" | |
alias removenoneimages="docker rmi $(docker images -a|grep "<none>"|awk '$1=="<none>" {print $3}')" | |
alias activate="source env/bin/activate" | |
alias setup="virtualenv env && source env/bin/activate" | |
alias python=python3 | |
alias pip=pip3 | |
alias pm="python manage.py" | |
alias aws="~/Library/Python/3.6/bin/aws" | |
alias eb="~/Library/Python/3.6/bin/eb" | |
alias pg-start="launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist" | |
alias pg-stop="launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist" | |
alias mk-start="minikube start --insecure-registry localhost:5000" | |
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment