docker: remove dki alias for linux; refactor

This commit is contained in:
Henrik Lissner 2017-01-04 00:39:34 -05:00
parent 69ce522e6e
commit 7aa3b49e02

View file

@ -1,11 +1,10 @@
case "$OSTYPE" in case $OSTYPE in
darwin*) darwin*)
alias dkm='docker-machine' alias dkm='docker-machine'
alias dki='eval $(docker-machine env)' alias dki='eval $(docker-machine env)'
;; ;;
linux*) linux*)
alias docker='sudo docker' alias docker='sudo docker'
alias dki='sudo systemctl start docker.service'
;; ;;
esac esac