posix-shell-jobs.md (974B)
1 # POSIX Shell Jobs 2 3 There are lots of bloated terminal multiplexers and persistence programs, like 4 zellij, tmux, screen, and the new age vibe-coded slop ones. These are all bloat. 5 6 It turns out POSIX shell has a lot of this built in. 7 8 ## The Stack 9 10 - st 11 - dash 12 - abduco (optional) 13 14 That's it. That's all you need to reach useful feature parody with tmux, zellij, 15 ghostty (gross), and zsh / fish all in one. 16 17 ## Writing Code 18 19 When writing code I used to use a tmux pane with my editor, one with a terminal 20 for execution, and sometimes another with lynx open, as relevant. Since then, 21 I've become annoyed by this because I'd much rather have one bash session that 22 does everything instead of dealing with the bloated monstrosity that is tmux. 23 24 Instead I do this: 25 26 - write code in vim / kakoune / vi / nvi 27 - C-z it to suspend the program 28 - Run my commands in the newly cleaned bash session 29 - Run 'fg' to foreground the suspended session. 30 31 ``` 32 [andrew@hal wip]$ jobs -l 33 ```