Last active
June 5, 2018 05:14
-
-
Save yuhonas/1a25391edd6998a76eb8899c587cbc13 to your computer and use it in GitHub Desktop.
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
function reverse_history_search | |
history | fzf --no-sort | read -l command | |
if test $command | |
commandline -rb $command | |
end | |
end | |
bind \cr reverse_history_search |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment