chrisant996 / clink

Bash's powerful command line editing in cmd.exe
https://chrisant996.github.io/clink/
GNU General Public License v3.0
3.45k stars 135 forks source link

Integration with conda #586

Closed thisisjaymehta closed 5 months ago

thisisjaymehta commented 5 months ago

It would be great if Clink can show current active environment of conda like zsh does.

Screenshot of zsh shell from my ubuntu system:

image

And when I create a new environment and switch to it:

image

chrisant996 commented 5 months ago

That's not something that would be part of Clink itself, just like it's not part of zsh or bash or etc.

You're looking for prompt scripts. Refer to Clink docs for pointers to some popular scripts.

https://chrisant996.github.io/clink/clink.html#popular-scripts

E.g. clink-flex-prompt or oh-my-posh or starship and so on.

thisisjaymehta commented 5 months ago

Thanks a lot for guiding me in correct direction.

I was able to do it using clink-flex-prompt