ttvo9g
Last Updated: February 25, 2016
·
999
· a-b
8e9e135bb9e8b1827ceaf690f9a9e5c3

Reuse last parameter from the last command

In bash and zsh you can use !$ to reuse last parameter from the last command usually it looks like:

favoritetestrunner path/to/file.ext

vim !$ +123

translated to

vim path/to/file.ext +123

for zsh you can use much more crazy things described http://www.rayninfo.co.uk/tips/zshtips.html

Say Thanks
Respond
Filed Under