bash-completion icon indicating copy to clipboard operation
bash-completion copied to clipboard

Allow completing '?' to the latest file in a directory

Open compholio opened this issue 6 years ago • 1 comments
trafficstars

This completion change allows retrieving the latest file in any _filedir completion (whether it is the current directory or not).

Examples: mv ?<TAB> -> mv latest-file.pdf mv ~/Downloads/?<TAB> -> mv ~/Downloads/latest-file.pdf

compholio avatar May 21 '19 14:05 compholio

Let's discuss at https://github.com/scop/bash-completion/discussions/637

This implementation has a few issues that would need fixing before accepting anyway, but I think the time is not right to go that deep into details as there are some larger concerns to resolve first.

scop avatar Oct 29 '21 19:10 scop