docker: remove dki alias for linux; refactor
This commit is contained in:
parent
69ce522e6e
commit
7aa3b49e02
|
@ -1,11 +1,10 @@
|
|||
case "$OSTYPE" in
|
||||
case $OSTYPE in
|
||||
darwin*)
|
||||
alias dkm='docker-machine'
|
||||
alias dki='eval $(docker-machine env)'
|
||||
;;
|
||||
linux*)
|
||||
alias docker='sudo docker'
|
||||
alias dki='sudo systemctl start docker.service'
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in a new issue