One command
sh
waddle wait npm testWaddle walks over when it's done: happy if it passed, with the last line it printed if not. Click Waddle to jump back to that terminal.
Every long command
Add the hook to your shell, and any command that takes 30 seconds or more and finishes while you're in another app, Waddle brings.
# in ~/.zshrc
eval "$(waddle hook zsh)"# in ~/.bashrc
eval "$(waddle hook bash)"# in ~/.config/fish/config.fish
waddle hook fish | source- It skips Ctrl-C, editors, pagers, ssh,
top, agents likeclaudeand the like: you were there for those. - Change the 30 seconds with
WADDLE_MIN_SECONDS, likeexport WADDLE_MIN_SECONDS=60. - The prompt never waits: the hook tells Waddle in the background.
In a script
waddle wait exits with the command's own exit code, so it drops into scripts and Makefiles without changing what they do:
sh
waddle wait npm run build && npm run deploy