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:
parent
920afe3ed2
commit
df2291ce15
2
aliases
2
aliases
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user