feat(navi): detach from tmux
This commit is contained in:
parent
414a3a1fdf
commit
3c8e2c5244
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
% tmux, reptyr
|
% tmux, reptyr
|
||||||
|
|
||||||
# send background process to tmux
|
# send background process to tmux
|
||||||
bg <process> && disown <process> && tmux new "$SHELL -c 'reptyr <process>'"
|
bg <process> && disown <process> && tmux new -d "$SHELL -c 'reptyr <process>'"
|
||||||
|
|
||||||
$ process: ps x -eo pid,tty,stat | awk '$2 ~ /pts/' | awk '$3 ~ /T/' | cut -d" " -f1 --- --preview "ps -p {} -o cmd"
|
$ process: ps x -eo pid,tty,stat | awk '$2 ~ /pts/' | awk '$3 ~ /T/' | cut -d" " -f1 --- --preview "ps -p {} -o cmd"
|
||||||
|
|
Loading…
Reference in a new issue