Comment by Ferret7446
4 days ago
You could just fix whatever is wrong with your bash history and/or learn to use the history properly. Bash also supports programmable completion so you could also use that than come up with some weird hack.
This smells like an XY problem
No comments yet
Contribute on Hacker News ↗