Skip to content

init.fish (line 10): Expected a string, but instead found a '&' #16

@Abourass

Description

@Abourass

After the most recent fish shell update on Ubuntu, fish loses the ability to find node / nvm. I get the following message on opening terminal.

~/.local/share/omf/pkg/nvm/init.fish (line 10): Expected a string, but instead found a '&'
    fenv source $nvm_prefix/nvm.sh >/dev/null ^&1
                                               ^
from sourcing file ~/.local/share/omf/pkg/nvm/init.fish
        called during startup
in function 'require' with arguments '--path /home/navi/.local/share/omf/pkg/await /home/navi/.local/share/omf/pkg/aws /home/navi/.local/share/omf/pkg/config /home/navi/.local/share/omf/pkg/fish-spec /home/navi/.local/share/omf/pkg/foreign-env /home/navi/.local/share/omf/pkg/nvm /home/navi/.local/share/omf/pkg/omf /home/navi/.local/share/omf/pkg/pisces /home/navi/.local/share/omf/pkg/spark /home/navi/.local/share/omf/pkg/tmux-zen /home/navi/.local/share/omf/pkg/weather'
        called on line 24 of file ~/.local/share/omf/init.fish
from sourcing file ~/.local/share/omf/init.fish
        called on line 7 of file ~/.config/fish/conf.d/omf.fish
from sourcing file ~/.config/fish/conf.d/omf.fish
        called on line 294 of file /usr/share/fish/config.fish
from sourcing file /usr/share/fish/config.fish
        called during startup
source: Error while reading file “/home/navi/.local/share/omf/pkg/nvm/init.fish”

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions