Merge pull request #33 from osamu2001/master

percol plugin
This commit is contained in:
Bruno 2013-05-24 05:36:29 -07:00
commit 418cb4fc24
3 changed files with 28 additions and 0 deletions

7
plugins/percol/README Normal file
View File

@ -0,0 +1,7 @@
Please bind percol_select_history in your favorite key.
If you'd like to bind CTRL+R
function fish_user_key_bindings
bind \cr percol_select_history
end

View File

@ -0,0 +1,13 @@
function percol_select_history
history|percol|read foo
if [ $foo ]
commandline $foo
else
commandline ''
end
end
# ~/.oh-my-fish/custom/*.load
# function fish_user_key_bindings
# bind \cr percol_select_history
# end

View File

@ -0,0 +1,8 @@
function percol_select_history
history|percol|read foo
if [ $foo ]
commandline $foo
else
commandline ''
end
end