Hacker News new | ask | show | jobs
by leejo 1641 days ago
You need to enable magic-space: https://relentlesscoding.com/posts/bash-magic-space/ # this will automatically expand any variables and history when you hit the spacebar after them, so you can eyeball before running.

Someone tell me what the zsh equivalent is?

1 comments

In zsh you just type !1234<tab> and it expands to the full command so you can review and edit :D