maj title

This commit is contained in:
Jephté Clain 2014-02-21 08:53:18 +04:00
parent 35e258b17c
commit cc1250d677
1 changed files with 1 additions and 1 deletions

2
ussh
View File

@ -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