đģ ZSH
# Enable pause
# Uses: pause;command
function pause(){
echo "Press [Enter] to continue...";grep $1 2>/dev/null;read
}
- Example:
pause; echo "Pause Complete"
I use this in conjunction with Tmux helper Tmuxinator, so that STDOUT renders out everything correctly