Add peco plugin
parent
4aeb4ac517
commit
06086ca17a
@ -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…
Reference in New Issue