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

aliases: fix _dsh user@ specification

This commit is contained in:
Joe Groocock 2017-10-03 09:37:10 +01:00
parent 920afe3ed2
commit df2291ce15
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -186,7 +186,7 @@ _dsh() {
host="$1" host="$1"
else else
host=`echo $1 | cut -d'@' -f2 -s` host=`echo $1 | cut -d'@' -f2 -s`
usercmd="--user=$user " usercmd="--user=$user"
fi fi
if [ "$dowhat" = 'exec' -a -z "$(docker ps -q -f name="$host")" <&- ]; then if [ "$dowhat" = 'exec' -a -z "$(docker ps -q -f name="$host")" <&- ]; then