From 6ef0a61a7a757233c68b24cb1fea5ee3ff6febf9 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Thu, 1 Sep 2022 08:39:44 +0200 Subject: [PATCH] start: exec a shell rather than tmux --- utils/bin/start | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/bin/start b/utils/bin/start index 88fc17e..f074c15 100644 --- a/utils/bin/start +++ b/utils/bin/start @@ -28,7 +28,7 @@ while getopts ":wh" arg; do done if [ "$WSL_SSH_AGENT" = true ]; then - exec ssh-agent tmux new-session -A -t main "$@" + SHLVL=0 exec ssh-agent "$SHELL" fi require() { @@ -46,5 +46,5 @@ require npiperelay export SSH_AUTH_SOCK=$HOME/.ssh/agent.sock [ -S "$SSH_AUTH_SOCK" ] && rm "$SSH_AUTH_SOCK" socat UNIX-LISTEN:$SSH_AUTH_SOCK,fork EXEC:"npiperelay -ei -s //./pipe/openssh-ssh-agent",nofork & -exec tmux new-session -A -t main "$@" +SHLVL=0 exec "$SHELL"