Browse Source

bin: introduce `moshscreen` helper connecting and attaching tmux or screen

Signed-off-by: Alejandro Mery <amery@geeks.cl>
master
Alejandro Mery 4 years ago
parent
commit
6e0bb061bf
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      files/bin/moshscreen

+ 9
- 0
files/bin/moshscreen

@ -0,0 +1,9 @@
#!/bin/sh
set -eu
if [ $# -eq 1 ]; then
exec mosh "$1" ~/bin/tmux-reattach
else
exec mosh "$@"
fi

Loading…
Cancel
Save