Skip to content

Fish shell support problem (with virtualenv) #293

@proItheus

Description

@proItheus

When I use . nodeenv/bin/activate.fish in a python virtual env, I get the following error:

functions: Function '_old_fish_prompt' already exists. Cannot create copy 'fish_prompt'

nodeenv/bin/activate.fish (line 115): 
    functions -c fish_prompt _old_fish_prompt
    ^
from sourcing file env/bin/activate.fish

and I find that in bash's activate script, you use OLD_NODE_VIRTUAL_PS1 to avoid conflict with virtualenv.Hope you can do this for fish too.

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