3 ms·
Another neat expansion: !$ is the last argument of the last command you entered. Useful when you mistype the command name.
by gjulianm 13y ago
Another neat expansion: !$ is the last argument of the last command you entered. Useful when you mistype the command name.
- AndreasFrom 13y agoAlt+. does the same and (at least in Zsh) allows you to cycle backwards.
- joshguthrie 13y agoMore like Meta Up/Down, I tried for ten minutes on iTerm2 before remembering to use my Escape key.
- mh- 13y agoCan configure the alt (option)-key behavior in your iTerm2 profile. Left/Right Option Key Acts As It is common to use a modifier to send so-called "meta keys". For most users, selecting "+Esc" here is the right choice. The "Meta" option sets the high bit of the input character, and is not compatible with modern systems. http://www.iterm2.com/#/section/documentation http://www.iterm2.com/#/section/documentation