1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-22 02:29:07 +00:00

Update link to fish-shell autoloading functions tutorial.

James Harrison 2021-06-18 22:42:38 +01:00
parent 0cb13217b8
commit 82eac31190

@ -21,7 +21,7 @@ Add this function to `config.fish`:
thefuck --alias | source thefuck --alias | source
``` ```
To avoid the delay of the shell startup, you could also create an [autoloaded function](https://fishshell.com/docs/current/tutorial.html#tut_autoload). To avoid the delay of the shell startup, you could also create an [autoloaded function](https://fishshell.com/docs/current/tutorial.html#autoloading-functions).
Create a file `~/.config/fish/functions/fuck.fish` instead and paste the output of `thefuck --alias` Create a file `~/.config/fish/functions/fuck.fish` instead and paste the output of `thefuck --alias`
into that file. Fish should start as fast as before. into that file. Fish should start as fast as before.