Fish-async-prompt issue

After installing fish-async-prompt using fisher I get a spam in console.

find-the-command: "fish_right_prompt" is not found locally, searching in repositories...
error: Invalid value "rules" for '--style <components>': Unknown style, 'rules'

For more information try --help
find-the-command: "fish_right_prompt" is not found locally, searching in repositories...
error: Invalid value "rules" for '--style <components>': Unknown style, 'rules'

For more information try --help
error: Invalid value "rules" for '--style <components>': Unknown style, 'rules'

For more information try --help
error: Invalid value "rules" for '--style <components>': Unknown style, 'rules'

I do not understand why it would be running the command in console :smiley:

Welcome to the forum! :slight_smile:

A quick forum search gives plenty of results, plus the needed fix :wink:

3 Likes

Sorry but I do not see the solution in the Getting an error when trying.... thread.

It was in fact there, in the linked git commit that fixed it :slight_smile:

which shows the following:

Meaning, that editing ~/.config/fish/config.fish, removing --style rules eventually solves the issue for you. :slight_smile:

3 Likes

Are you sure this would fix the issue? I ask because I thought I’d give it a go as a test and I have the latest commit with the changes made to that alias in the config.fish file and still the same error as OP who posted the problem. Not a big deal but just letting you know your suggestion didn’t work in my case. Maybe it did for him though who knows

Space between header and --style snip?

1 Like

Yeah there is. That commit above had the mistake that I fixed in my config

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.