tmix: Use sudo instead of doas
This commit is contained in:
parent
0699b871af
commit
603d6fa762
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user