This plug-in creates the necessary function to be used with The Fuck. It brings:
- Fast initialization (benchmark: diff is 10ms, median)
- Lazy auto-update (only when The Fuck gets updated)
- Key binding for command line replacement
After installing The Fuck, proceed:
$ omf install thefuckTo use a key bind just add it to your fish_user_key_bindings function:
function fish_user_key_bindings
# ...
bind \e\e 'thefuck-command-line' # Bind EscEsc to thefuck
# ...
end$ git brch
$ fuck