Remove unused scripts
This commit is contained in:
parent
8533f6a3ab
commit
06c3d86934
2
neovim
2
neovim
@ -1 +1 @@
|
||||
Subproject commit 19c17b583bf23b637cbd89d8fa19165dfc2780b1
|
||||
Subproject commit d6f6f9e11d4ea7835ae73820d581ec2ce1a13432
|
||||
9249
scripts/configparser
9249
scripts/configparser
File diff suppressed because it is too large
Load Diff
3743
scripts/inquirer
3743
scripts/inquirer
File diff suppressed because it is too large
Load Diff
@ -1,31 +0,0 @@
|
||||
#!/bin/bash
|
||||
# ssh-multi
|
||||
# D.Kovalov
|
||||
# Based on http://linuxpixies.blogspot.jp/2011/06/tmux-copy-mode-and-how-to-control.html
|
||||
|
||||
# a script to ssh multiple servers over multiple tmux panes
|
||||
|
||||
|
||||
starttmux() {
|
||||
if [ -z "$HOSTS" ]; then
|
||||
echo -n "Please provide of list of hosts separated by spaces [ENTER]: "
|
||||
read HOSTS
|
||||
fi
|
||||
|
||||
local hosts=( $HOSTS )
|
||||
local target="ssh-multi ${host[0]}"
|
||||
|
||||
tmux new-window -n "${target}" ssh ${hosts[0]}
|
||||
unset hosts[0];
|
||||
for i in "${hosts[@]}"; do
|
||||
tmux split-window -t :"${target}" -h "ssh $i"
|
||||
tmux select-layout -t :"${target}" tiled > /dev/null
|
||||
done
|
||||
tmux select-pane -t 0
|
||||
tmux set-window-option -t :"${target}" synchronize-panes on > /dev/null
|
||||
|
||||
}
|
||||
|
||||
HOSTS=${HOSTS:=$*}
|
||||
|
||||
starttmux
|
||||
Loading…
Reference in New Issue
Block a user