/fisher-thefuck

⚡️ Fisher support to TheFuck

Primary LanguageShellMIT LicenseMIT


thefuck

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

Install

After installing The Fuck, proceed:

$ omf install thefuck

Optional key binding

To 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

Usage

$ git brch
$ fuck

License

MIT © scorphus et al