oh-my-fish / theme-agnoster

MIT License
96 stars 64 forks source link

Shorter display of a single virtualenv item #69

Open amw opened 1 year ago

amw commented 1 year ago

At some point type labels like py[ENV] were added to the virtualenv display. I find this to be very verbose in most situations where people only use a single virtual environment in a given directory. I've modified my local copy to remove type label, please compare before and after:

Screenshot 2023-07-27 at 15 08 15

I would suggest either:

  1. Dropping the prefix entirely
  2. Dropping prefixes where there is only one virtualenvs item
  3. Using separate segments for different virtualenvs

I can submit PR for the first or second option.