From 0af309655657df5713ad61ddb1e29246613a1f06 Mon Sep 17 00:00:00 2001 From: Uwe Werler Date: Fri, 24 May 2019 09:13:32 +0000 Subject: [PATCH] delete duplicate line and adjust help function --- ssh.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ssh.sh b/ssh.sh index 9388c83..b997af7 100644 --- a/ssh.sh +++ b/ssh.sh @@ -29,7 +29,7 @@ usage(){ echo \ " -usage: /bin/sh $0 -cgsu [args] +usage: /bin/sh $0 -cr [args] -c : start server and connect xterm or attach term to detached session -c args: start server and run ssh with args or start ssh and attach xterm -r sets pane title of the active pane @@ -114,7 +114,6 @@ _setpane(){ local _title=${1} _style _title=${_title%%.*} - #[[ -z ${_title} ]] && _title=$(hostname -s) [[ -z ${_title} ]] && _title=$(hostname -s) $_tmux select-pane -T "$(printf %-${_tabw}.${_tabw}s ${_title})"