Commit 06086ca1 authored by Alex Farrell's avatar Alex Farrell

Add peco plugin

parent 4aeb4ac5
......@@ -14,6 +14,7 @@
* __ndenv__ - helpers for [another node.js version manager](https://github.com/riywo/ndenv)
* __node__ - adds locally installed NodeJS npm binary executable modules to the path
* __percol__ - browse your fish history with [percol](https://github.com/mooz/percol)
* __peco__ - browse your fish history with [peco](https://github.com/peco/peco)
* __php__ - manage phphttp server
* __plenv__ - [plenv](https://github.com/tokuhirom/plenv) perl binary manager integration
* __pyenv__ - [Simple Python Version Management](https://github.com/yyuu/pyenv) integration
......
Based directly on the percol plugin.
Please bind peco_select_history in your favorite key.
If you'd like to bind CTRL+R
function fish_user_key_bindings
bind \cr peco_select_history
end
function peco_select_history
history|peco|read foo
if [ $foo ]
commandline $foo
else
commandline ''
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment