Rick Cogley's Tech Logr

Short Technical Laser Bursts %%

RC Logr 20190228 151933

Thursday, 28 Feb, 2019

In bash or zsh, you can recall the last argument using !$. For example, if you execute ls /crazy/path/to/some/remote/part/of/your/disk/file.txt, to edit it you could just do vim !$, instead of using your arrow keys to navigate all the way to the ls. 👻 (thx Rudi)

RC Logr 20190228 151933 - In bash or zsh, you can recall … Rick Cogley
Back to Home Tweet Link