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*)
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue