IlanCosman/tide

Conda environment name truncated to name before period

marcelroed opened this issue · 1 comments

Describe the bug

Tide's Python environment indicator is unable to show the full name of conda environments with a period in their name.

Steps to reproduce

  1. Create a conda environment with a name that includes a '.': conda env create --name testing.name
  2. Activate the environment: conda activate testing.name
  3. The tide shell shows the wrong name, truncating it at the period.

Screenshots

image

Note that the environment active before switching to testing.name is named 3.12, which truncates to just 3. This makes it annoying to tell if I'm in 3.12 or 3.11 in my case.

Environment

Output of tide bug-report:

fish version: 3.6.4
tide version: 6.0.1
term: xterm-256color
os: MacOS Sonoma 14.2
terminal emulator: iTerm 2
fish startup: 131.98 millis
fisher plugins: kidonng/zoxide.fish ilancosman/tide@v6

Hmm, never mind, it seems Tide has no support for viewing Conda environments after all, and that this indicator is injected by the Conda shell hook. Perhaps I could submit a request for Conda support in the Python version indicator?