Last active
April 25, 2016 14:13
-
-
Save mrandi/6522827 to your computer and use it in GitHub Desktop.
Mac command utils
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
export LC_ALL=en_US.utf-8 export LANG=en_US.utf-8 | |
# ls with color | |
export CLICOLOR=1 | |
#export LSCOLORS=Exfxcxdxbxegedabagacad | |
# highlight matches | |
export GREP_OPTIONS='--color=auto' | |
#alias | |
alias ll="ls -lhsaFG" | |
#sublime | |
alias subl="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl" | |
#atom | |
alias atom="/Applications/Atom.app/Contents/Resources/app/atom.sh" | |
#psql | |
export PATH=/Applications/pgAdmin3.app/Contents/SharedSupport:$PATH | |
#docker-machine start default | |
if [ $(docker-machine status default) = "Stopped" ]; then | |
docker-machine start default | |
eval "$(docker-machine env default)" | |
docker start postgres | |
fi | |
eval "$(docker-machine env default)" | |
#yubi | |
alias yubi="gpg --card-status" | |
source /Users/.../.gnupg/gpg-agent.env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment