This file contains hidden or 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
| @(docomo.ne.jp|disney.ne.jp|mopera.net|dwmail.jp|softbank.ne.jp|i.softbank.jp|(d|h|t|c|r|k|n|s|q).vodafone.ne.jp|*ezweb.ne.jp|ido.ne.jp|*pdx.ne.jp|willcom.com|emnet.ne.jp|vertclub.ne.jp|jp-(d|h|t|c|r|k|n|s|q).ne.jp|sky.(tkk|tkc|tu-ka).ne.jp) |
This file contains hidden or 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/sh | |
| # Set TMUX terminal pane background color per SSH hosts | |
| # alias ssh='path/to/vsh.sh' | |
| _ssh_tmux_background () { | |
| [ -z "$TMUX_PANE" ] && return 0 | |
| if [ -n "$1" ]; then | |
| hostname=$(command ssh -G "$@" | awk '$1=="hostname" { print $2; }') | |
| case "$hostname" in | |
| *.example.com) |
NewerOlder