From 603d6fa762d0b23932f961ce5454047911a83b9a Mon Sep 17 00:00:00 2001 From: Christian Baer Date: Sun, 6 Dec 2020 15:22:12 +0100 Subject: [PATCH] tmix: Use sudo instead of doas --- .config/zsh/functions/tmix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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