Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not too interested in the snippet manager, but when I was watching the demo movie, I noticed the author doing inline shell variable expansion. It never even occurred to me that shells could do that. Wish I had known about this years ago.

On bash, it's M-C-e where the Escape key can serve as the "M" portion. Also, M-r to clear the command-line, which I could also have used many times. Bash docs: https://www.gnu.org/software/bash/manual/html_node/Miscellan...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: