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

Fix dsh with no user parameter and remove logging statement

This commit is contained in:
Joe Groocock 2016-08-12 16:14:58 +01:00
parent 7548150a08
commit dc1b6f3f69

View File

@ -140,8 +140,7 @@ dsh() {
usercmd="--user=$user "
fi
echo "docker exec -ti $usercmd $host /bin/sh"
docker exec -ti "$usercmd" "$host" /bin/sh
eval "docker exec -ti $usercmd$host /bin/sh"
}
alias dm='docker-machine'