Create a gist now

Instantly share code, notes, and snippets.

docker-shell-alias-function
function docker {
cmd=/usr/local/bin/docker
case $1 in
"status") shift && $cmd ps $@;;
*) $cmd $@;;
esac
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment