Created
June 1, 2018 01:42
-
-
Save mwilliammyers/943f8fcd19ebb81771f155b82dcb0b61 to your computer and use it in GitHub Desktop.
reverse fishshell history search using skim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bind \cr '__sk_reverse_isearch' | |
function __sk_reverse_isearch | |
history -z | sk --read0 --print0 --tiebreak=index -q (commandline) | read -lz result | |
and commandline -r $result | |
#and commandline -f repaint | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment