diff options
author | Andrew Cady <d@jerkface.net> | 2017-03-09 12:27:32 -0500 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2017-03-09 12:27:32 -0500 |
commit | e047a12209ffd00cd0427e2cd10a03172eb43582 (patch) | |
tree | 0555a737c4a63d36949529f59cb7c3d017a95d2c /dot/local | |
parent | b7aa0e075988858a721a01ff09f9b090177b2200 (diff) |
x11-ssh-host: launch remote "screen" with "-e" option
Diffstat (limited to 'dot/local')
-rwxr-xr-x | dot/local/bin/x11-ssh-host | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dot/local/bin/x11-ssh-host b/dot/local/bin/x11-ssh-host index 2869854..7eb05ab 100755 --- a/dot/local/bin/x11-ssh-host +++ b/dot/local/bin/x11-ssh-host | |||
@@ -6,8 +6,8 @@ esac | |||
6 | 6 | ||
7 | if [ "$DISPLAY" -a ! -t 0 ]; then | 7 | if [ "$DISPLAY" -a ! -t 0 ]; then |
8 | exec xterm -T "$host" -e \ | 8 | exec xterm -T "$host" -e \ |
9 | autossh "$host" -- -t screen -xRR | 9 | autossh "$host" -- -t screen -xRR -e '^Zz' |
10 | else | 10 | else |
11 | exec \ | 11 | exec \ |
12 | autossh "$host" -- -t screen -xRR | 12 | autossh "$host" -- -t screen -xRR -e '^Zz' |
13 | fi | 13 | fi |