1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

_dsh and extensions default to /bin/sh if not specified

This commit is contained in:
Joe Groocock 2017-03-05 21:12:37 +00:00
parent 997b43ba7b
commit d3bc08110b
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -171,7 +171,7 @@ _dsh() {
usercmd="--user=$user "
fi
eval "docker $dowhat -ti $usercmd$host $prog"
eval "docker $dowhat -ti $usercmd$host ${prog:-"/bin/sh"}"
}
alias dm='docker-machine'