pipenv: `pip shell` doesn't prepend virtualenv name to bash prompt

For bash shell, when I try activating virtualenv by pip shell, it doesn’t prepend virtualenv name before bash prompt.

$ # Global pip
$ pip freeze | wc -l
61
$ pipenv shell
Spawning environment shell (/bin/bash).
$ pip freeze
$ # Means we are inside virtualenv as there is no package
$ which python
/XXXXXX/.venv/bin/python
$ source .venv/bin/activate
(playpipenv) $ 

It might be my bashrc. Will wait till anyone confirms it. Thanks

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (11 by maintainers)

Most upvoted comments

In windows prompt, no name is appended even when -c is used.

@jessebraham Well I don’t know why you get two new lines after the Spawning statement. However, the printed source statement should be expected.