oh-my-fish / theme-budspencer

A theme for nerds, makes fish even more powerful. It's equipped with a hell of a lot of nice functions and key bindings to speed up your workflow.
MIT License
106 stars 42 forks source link

Installing it on WSL ruins my terminal #72

Closed wout-junius closed 4 years ago

wout-junius commented 4 years ago

i get this error

Updating https://github.com/oh-my-fish/packages-main master... Done!
Installing package barracuda
✔ barracuda successfully installed.
~/.config/fish/functions/fish_prompt.fish (line 945): Unsupported use of '&&'. In fish, please use 'COMMAND; and COMMAND'.
  set_color 999 && rsync -av --exclude-from='home/exclude' $termux_path/ $tmp_dir/$file/ | pv -lpes $f_count >/dev/null
                 ^
from sourcing file ~/.config/fish/functions/fish_prompt.fish
        called on standard input

in command substitution
        called on standard input

source: Error while reading file '/home/woutyboy3/.config/fish/functions/fish_prompt.fish'

And when i do any other command now i get this clear__barracuda_preexec: command not found

clayauld commented 4 years ago

When you close and reopen the terminal do you still get this issue? It seems the issue is with the "clear_barracuda_preexec" command. It looks like you're installing the barracuda package and that is creating a conflict with the budspencer theme.

Do you have a reference to the source for that package? If we can figure out the conflict then we can issue a fix for it.

clayauld commented 4 years ago

closing due to no response on the issue.