Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Aug 21, 2023
1 parent 2e6ac68 commit e368d9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ function create_backup() {

function ssh_multi() {
if [[ $# -lt 2 ]] ; then
echo "Usage: $0 ip1 ip2"
echo "Usage: ssht host1 host2 host3"
return 0
fi

Expand All @@ -382,12 +382,12 @@ function ssh_multi() {
return 1
fi

tmux new-window -n "SSH ($#)" "ssh $SSH_QUIET_OPTS $1"
tmux new-window -n "SSH ($#)" "ssh $SSH_QUIET_OPTS $1 ; sleep 5"

shift 1

for conn in "$@" ; do
tmux split-window "ssh $SSH_QUIET_OPTS $conn"
tmux split-window "ssh $SSH_QUIET_OPTS $conn ; sleep 5"
rename_pane "$conn"
done

Expand All @@ -396,7 +396,7 @@ function ssh_multi() {

function cat_flat() {
if [[ $# -lt 2 ]] ; then
echo "Usage: $0 file"
echo "Usage: flat file"
return 0
fi

Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -e

################################################################################

VERSION="2.3.3"
VERSION="2.3.4"

################################################################################

Expand Down

0 comments on commit e368d9b

Please sign in to comment.