commit
418cb4fc24
@ -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
|
@ -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
|
@ -0,0 +1,8 @@
|
||||
function percol_select_history
|
||||
history|percol|read foo
|
||||
if [ $foo ]
|
||||
commandline $foo
|
||||
else
|
||||
commandline ''
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue