Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

lc, or "List Commands used in this directory". It's a bash_history that's directory specific, because the terminal commands I type are usually directory-specific. It is only like 10 lines of bash, and I got help with the bash, but I'm proud of it and I use it everyday. I think my most common usage is `lc | grep partialCommandIcCantQuiteRemember`

https://github.com/pconerly/lc-listcommands-bash/



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: