Skip to content

Fix workon.sh prefix #667

@mmathys

Description

@mmathys

In workon.sh, the PS1 is updated the new virtual environment. If workon.sh is executed multiple times (e.g. when switching between environments), the old environment is kept in this variable, creating large string of virtual envs like this:

(faasm-exp) (faasm-exp) (faasm) (faasm-exp) (faasm) mmathys@koala9:~/experiment-base$

An easy fix could be to change this line to

export PS1="(faasm)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions