Add peco plugin

pull/2/head
Alex Farrell 10 years ago
parent 4aeb4ac517
commit 06086ca17a

@ -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

@ -0,0 +1,9 @@
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

@ -0,0 +1,8 @@
function peco_select_history
history|peco|read foo
if [ $foo ]
commandline $foo
else
commandline ''
end
end
Loading…
Cancel
Save