Percol: An interactive grep tool in your terminal
github.com
github.com
percol
- receives input lines from stdin or a file,
- lists up the input lines,
- waits for your input that filter/select the line(s),
- and finally outputs the selected line(s) to stdout.
ps: not sarcastic at all.
git checkout $(git branch | percol)
to select the branch name interactively from a menu. How would you do that in Vim or Emacs?https://github.com/dhamidi/tmenu
It actually tries to be dmenu for the terminal.
ps: I'd add a readline/inputrc alias for '| tmenu '
$ 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.http://www.reddit.com/r/linux/comments/283ziw/tmenu_dmenu_fo...
ps: even funnier, someone just posted a personal project doing just that.
Use Magit, which is probably the best Git client anyway.
Note that most likely git.el is not on your load-path. After it is loaded, you can use M-x git-status to interactively stage, diff and commit files. In the git-status buffer you can checkout a branch with C-c C-o. If helm is installed, you'll get something similar to percol right in Emacs.
https://github.com/hchbaw/auto-fu.zsh
after seeing this README.md.