From cc1250d677aca5e7dae616eedf6bc716f40ac11a Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Fri, 21 Feb 2014 08:53:18 +0400 Subject: [PATCH] maj title --- ussh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ussh b/ussh index fa0b863..fb119d8 100755 --- a/ussh +++ b/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