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.
Try this: https://lorenzo.mile.si/macos-iterm2-use-linux-keyboard-shor...
edit: I'm dumb, that was for iTerm, I got it working!