diff --git a/Shell-aliases.md b/Shell-aliases.md index bda2c6d..f171f21 100644 --- a/Shell-aliases.md +++ b/Shell-aliases.md @@ -21,7 +21,7 @@ Add this function to `config.fish`: 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` into that file. Fish should start as fast as before.