Virtual env name doesn't show after reloading zsh
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Reproduce the issue in zsh by activating a virtual environment, sourcing ~/.zshrc, and checking whether the prompt still shows its name. Read the pyenv-virtualenv zsh integration and the behavior of pyenv virtualenvs; done means the active environment name remains visible after reloading the shell configuration.
索引モデルが issue の本文から書いたものです。
説明
Too many issues will kill our team's development velocity, drastically.
Make sure you have checked all steps below.
Prerequisite
- Make sure your problem is not listed in the common build problems.
- Make sure no duplicated issue has already been reported in the pyenv-virtualenv issues. You should look in closed issues, too.
- Make sure you are not asking us to help solving your specific issue.
- GitHub issues is opened mainly for development purposes. If you want to ask someone to help solving your problem, go to some community site like Gitter, StackOverflow, etc.
- Make sure your problem is not derived from packaging (e.g. Homebrew).
- Please refer to the package documentation for the installation issues, etc.
- Make sure your problem is not derived from other plugins.
- This repository is maintaining the
pyenv-virtualenvplugin only. Please refrain from reporting issues of other plugins here.
- This repository is maintaining the
Description
- Platform information (e.g. Ubuntu Linux 20.04): OSX
- OS architecture (e.g. amd64): M1
- pyenv version: 2.2.5
- pyenv-virtualenv version: 1.1.5
- Python version: 3.10
- [N/A] virtualenv version (if installed):
- [N/A] Please attach the debug log of a faulty Pyenv invocation as a gist
- If the problem happens in a Pyenv invocation, you can turn on debug logging by setting
PYENV_DEBUG=1, e.g.env PYENV_DEBUG=1 pyenv install -v 3.6.4 - If the problem happens outside of a Pyenv invocation, get the debug log like this:
export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }' set -x <reproduce the problem> set +x
- If the problem happens in a Pyenv invocation, you can turn on debug logging by setting
If I start my virtual environment for the first time, I can see it:
(my-env) user@machine %
However, if I reload my zsh:
source ~/.zshrc
The name disappears even though the env is still activated
user@machine %
I can only check with:
pyenv virtualenvs
I added a custom script in my .zshrc to show the virtual env name after reloading.
- 主要言語
- Shell
- スター
- 6.7k
- フォーク
- 433
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 11
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pyenv/pyenv-virtualenv のほかの issue
-
Document the virtualenv, activate and deactivate hooks対応中かも @officialasishkumar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
pyenv/pyenv-virtualenv#552 ·
メンテナーはふだん 1 日以内に返信
-
Creating a virtualenv from system leaves a self-referencing symlink inside it対応中かも @dhananjay6561 が 4 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pyenv/pyenv-virtualenv#548 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
virtualenv-delete with a trailing slash can remove all of $PYENV_ROOT/versions対応中かも @dhananjay6561 が 5 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
pyenv/pyenv-virtualenv#546 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Fish: activating a conda env doesn't set CONDA_PREFIX or run its activate.d/deactivate.d scripts対応中かも @officialasishkumar が今日担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
pyenv/pyenv-virtualenv#550 ·
メンテナーはふだん 1 日以内に返信
-
`pyenv virtualenv (version) (name)` ignores specified version and uses homebrew's `python` versionオープン
難易度 3/5 半日 初心者へのやさしさ 55/100
pyenv/pyenv-virtualenv#531 ·
メンテナーはふだん 1 日以内に返信
pyenv/pyenv-virtualenv の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Abdk4Moura/tunlion#1014 ·
メンテナーはふだん 1 日以内に返信
-
icon request
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
PapirusDevelopmentTeam/papirus-icon-theme#4401 ·
メンテナーはふだん 3 日以内に返信
-
package-update
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信