Skip to content

Instantly share code, notes, and snippets.

@mrandi
Last active April 25, 2016 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrandi/6522827 to your computer and use it in GitHub Desktop.
Save mrandi/6522827 to your computer and use it in GitHub Desktop.
Mac command utils
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