3 ms·
Alt + . does the same thing as well, with the added advantage that you can keep pressing Alt and then hit "." several times to go through all the "last argument
by alex_smart 5y ago
Alt + . does the same thing as well, with the added advantage that you can keep pressing Alt and then hit "." several times to go through all the "last arguments" in your history one by one.
- snug 5y agoDoesn't seem to work on mac :/
- alex_smart 5y agoI haven't used a mac in years, but I know for sure that I had found a workaround. I would go insane without "Alt+." on the shell, I use it very, very frequently. Try this: https://lorenzo.mile.si/macos-iterm2-use-linux-keyboard-shortcut-for-moving-the-cli/686/ https://lorenzo.mile.si/macos-iterm2-use-linux-keyboard-shor...
- snug 5y agoThanks, i'm using iTerm2, which seems to have an experimental feature for repeat previous character escape sequence enabled by default, but doesn't really work that well, I suspect it's the touchbar escape key that doesn't play too nicely to the hold edit: I'm dumb, that was for iTerm, I got it working!