maj title
This commit is contained in:
parent
35e258b17c
commit
cc1250d677
2
ussh
2
ussh
|
@ -135,9 +135,9 @@ if [ "$action" == "ssh" ]; then
|
|||
[ -n "$ssh" ] || ssh=ssh
|
||||
[ "${#hosts[*]}" -gt 1 ] && showtitle=1 || showtitle=
|
||||
for host in "${hosts[@]}"; do
|
||||
[ -n "$showtitle" ] && etitle "$host"
|
||||
splituserhost "$host" user host
|
||||
[[ "$host" == *.* ]] || host="$host${domain:+.$domain}"
|
||||
[ -n "$showtitle" ] && etitle "${user:+$user@}$host"
|
||||
"$ssh" "${user:+$user@}$host" "${args[@]}"
|
||||
[ -n "$showtitle" ] && eend
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue