Insert the last argument of the previous terminal command
Today I learned that you can use !$ in bash to use the last argument of the previous command. The simplest example is: mkdir /some/long/path cd !$ You can do something similar in powershell by using a PSReadline binding: Set-PSReadLineKeyHandler -Chord "Alt+." -Function YankLastArg