acomagu / fish-async-prompt

Make your prompt asynchronous to improve the reactivity.
MIT License
389 stars 22 forks source link

fish: Unknown command: fish_right_prompt #74

Open kalip2 opened 5 months ago

kalip2 commented 5 months ago

Trying to install your plugin with fisher gives me this error:

❯ fisher --version
fisher, version 4.4.3
❯ fish --version
fish, version 3.7.0
❯ fisher install acomagu/fish-async-prompt
fisher install version 4.4.3
Fetching https://api.github.com/repos/acomagu/fish-async-prompt/tarball/HEAD
Installing acomagu/fish-async-prompt
           /Users/akshatpradhan/.config/fish/conf.d/__async_prompt.fish
Installed 1 plugin/s
fish: Unknown command: fish_right_prompt
fish: 
    fish_right_prompt | read -z prompt
    ^~~~~~~~~~~~~~~~^
acomagu commented 4 months ago

@kalip2 What is your output of this command: functions -q fish_right_prompt

acomagu commented 4 months ago

And could you provide your plugin list and config.fish?

kalip2 commented 4 months ago

@acomagu More output as you requested

❯ fisher install acomagu/fish-async-prompt
fisher install version 4.4.4
Fetching https://api.github.com/repos/acomagu/fish-async-prompt/tarball/HEAD
Installing acomagu/fish-async-prompt
           /Users/akshatpradhan/.config/fish/conf.d/__async_prompt.fish
Installed 1 plugin/s
fish: Unknown command: fish_right_prompt
fish: 
    fish_right_prompt | read -z prompt
    ^~~~~~~~~~~~~~~~^
❯ functions -q fish_right_prompt
functions: -q: unknown option
❯ fisher list
jorgebucaran/autopair.fish
meaningful-ooo/sponge
ilancosman/tide@v6
gazorby/fish-abbreviation-tips
patrickf1/fzf.fish
jamiesteven/fish-plugin-lsd
franciscolourenco/done
markcial/upto
oh-my-fish/plugin-pj
patrickf1/colored_man_pages.fish
otms61/fish-pet
joseluisq/gitnow@2.12.0
❯ bat -pp .config/fish/config.fish

if status is-interactive
  # Commands to run in interactive sessions can go here
  eval "$(/opt/homebrew/bin/brew shellenv)"
  set -gx EDITOR 'code --wait'
  set -gx VISUAL 'code --wait --new-window'
  set -gx PROJECT_PATHS ~/Code # for oh-my-fish/plugin-pj
  set fish_greeting
  set fzf_preview_dir_cmd lsd --all --color=always # for PatrickF1/fzf.fish
  thefuck --alias | source 
  zoxide init fish | source
  # op completion fish | source
  # rbenv init - | source
  # pyenv init - | source
end