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
Written by Alexander Berezovsky
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Zsh
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#