tmix: Use sudo instead of doas

This commit is contained in:
Christian Baer 2020-12-06 15:22:12 +01:00
parent 0699b871af
commit 603d6fa762

View File

@ -21,7 +21,7 @@ function tmix () {
for SERVER in ${SERVERS}; do
echo ">>> Connecting to ${SERVER}"
tmux new-window -n ${SERVER} -t ${SESSION}:
tmux send-keys -t ${SESSION}:${SERVER} "mosh ${SERVER} -- doas tmux a -d" C-m
tmux send-keys -t ${SESSION}:${SERVER} "mosh ${SERVER} -- sudo tmux a -d" C-m
done
fi
fi