This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Get a directory name to store configuration files for my own scripts. | |
# | |
# The default directory will be '$XDG_CONFIG_HOME/MyPersonalConfigs,' or | |
# '$HOME/.config/MyPersonalConfigs' if $XDG_CONFIG_HOME is not defined. | |
# | |
# The 'MyPersonalConfigs' subdirectory is used to isolate configs from my own | |
# scripts from those of programs installed by the package manager. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |