diff --git a/files/bin/moshscreen b/files/bin/moshscreen new file mode 100755 index 0000000..901e0e4 --- /dev/null +++ b/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