From 3c8e2c5244f9ed9b06ec1e3f27ced2760a236c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Wed, 26 Apr 2023 14:29:11 +0200 Subject: [PATCH] feat(navi): detach from tmux --- modules/programs/navi/cheats/reptyr.cheat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/navi/cheats/reptyr.cheat b/modules/programs/navi/cheats/reptyr.cheat index 1ea2e55..5f04331 100644 --- a/modules/programs/navi/cheats/reptyr.cheat +++ b/modules/programs/navi/cheats/reptyr.cheat @@ -1,6 +1,6 @@ % tmux, reptyr # send background process to tmux -bg && disown && tmux new "$SHELL -c 'reptyr '" +bg && disown && tmux new -d "$SHELL -c 'reptyr '" $ process: ps x -eo pid,tty,stat | awk '$2 ~ /pts/' | awk '$3 ~ /T/' | cut -d" " -f1 --- --preview "ps -p {} -o cmd"