On Wed Mar 16, 2022 at 3:05 PM PDT, Luciano ES wrote:
> I tried your suggestion and got this:
>
> $ functions fish_command_not_found
> # Defined in /home/luc/.config/fish/config.fish @ line 16
> function fish_command_not_found --on-event fish_command_not_found
>         if test $argv = "kickball"
>                 echo "goal!"
>         else
>                 echo Ooops! $argv
>         end
> end

that's because you haven't commented out those lines in
~/.config/fish/config.fish and re-launched fish or run `exec fish` without
the backticks.

comment those lines by putting a # in front of them and trying running
again.

> I am using 2.7.1. My distro version has 3.0.2, but I have fish 
> scripts all over the place and I'm afraid of breaking compatibility
> or losing my customizations.

it may be worth a try.  certain features are definitely deprecated but
if you read through the fish docs you can see that some of features can
still be re-activated with a proper fish config.


_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to