feat(programs): add navi
This commit is contained in:
parent
52650a3c84
commit
af1f1fec2e
4 changed files with 29 additions and 1 deletions
6
modules/programs/navi/cheats/reptyr.cheat
Normal file
6
modules/programs/navi/cheats/reptyr.cheat
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
% tmux, reptyr
|
||||
|
||||
# send background process to tmux
|
||||
bg <process> && disown <process> && tmux new "$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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue