Hacker News new | ask | show | jobs
by bravetraveler 925 days ago
Yea - this. With the CLI, I often don't have to pick a file at all.

I've likely just backgrounded or closed some other reference to the file: 'vim', 'pylint', etc.

The shell makes subsequent references basically free with this: '$_'

I've internalized this as "the last arg to the last thing I ran". It probably has some esoteric meaning to BASH...

Point being: if one plans the placement of their args they stop having to think about finding files or tabbing to exhaustion.

This works with anything you'd give as an argument