diff --git a/.config/zsh/functions/tmix b/.config/zsh/functions/tmix index 23ac27e..ef64748 100644 --- a/.config/zsh/functions/tmix +++ b/.config/zsh/functions/tmix @@ -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