Hacker News new | past | comments | ask | show | jobs | submit login

Funnily enough, I recently implemented something akin to percol:

https://github.com/dhamidi/tmenu

It actually tries to be dmenu for the terminal.




Glorious, I was about to start a similar thing (in python though). Time to play with your toy.

ps: I'd add a readline/inputrc alias for '| tmenu '


Would you mind sharing what that alias would look like and do? I can only imagine it appending the string "| tmenu" to the current line, eventually pressing Return for the user as well.


    $ bind '"\C-L": "\| less -S \C-j"'
Warning: seems like GNU readline isn't case sensitive so C-L === C-l thus, in this example, C-l default behavior (clear screen?) is overridden. I didn't RTFM so trust yourself.


Also, a redditor told me about slmenu (dmenu parody for shell)

http://www.reddit.com/r/linux/comments/283ziw/tmenu_dmenu_fo...


Update: the README now describes the available key bindings and gives more usage examples.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: