Skip to content

Errors thrown by activate.fish #8

@vbabiy

Description

@vbabiy

I'm getting a bunch of errors using the activate script for Fish (many thanks for supporting this minority shell!).

wilfred@Tenor ~/py-envs> . app-engine/bin/activate.fish 
fish: Unknown command “tempfile”
/home/wilfred/py-envs/app-engine/bin/activate.fish (line 1): tempfile
                                                             ^
in command substitution
    called on line 46 of file “/home/wilfred/py-envs/app-engine/bin/activate.fish”,

in . (source) call of file “/home/wilfred/py-envs/app-engine/bin/activate.fish”,
    called on standard input,

fish: Expected redirection specification, got token of type “$oldpromptfile”
/home/wilfred/py-envs/app-engine/bin/activate.fish (line 49):         echo "function _old_fish_prompt" >> $oldpromptfile
                                                                                                          ^
in . (source) call of file “/home/wilfred/py-envs/app-engine/bin/activate.fish”,
    called on standard input,

wilfred@Tenor ~/py-envs> fish --version
fish, version 1.23.1
wilfred@Tenor ~/py-envs> virtualenv --version
1.5.1

Things still seem to work as expected, but the prompt doesn't change.

Cheers.


Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions