Comment on Apple. Apple PleaseparentComments−LoganDark2yThey do:- PowerShell has Ctrl+Z- Bash has Ctrl+/- Fish has Ctrl+Z and Ctrl+/ bothnot sure about others, surely if you're using busybox ash this won't work (no line editing will work), but I'm sure most shells have some sort of undo, as long as they have any line editing at all.−TheCleric2yI just looked it up and for zsh (MacOS default) it’s Ctrl+_Hopefully I’ll remember that next time I need it.
Comments
They do:
- PowerShell has Ctrl+Z
- Bash has Ctrl+/
- Fish has Ctrl+Z and Ctrl+/ both
not sure about others, surely if you're using busybox ash this won't work (no line editing will work), but I'm sure most shells have some sort of undo, as long as they have any line editing at all.
I just looked it up and for zsh (MacOS default) it’s Ctrl+_
Hopefully I’ll remember that next time I need it.