cmderdev / cmder

Lovely console emulator package for Windows
https://cmder.app
MIT License
25.86k stars 2.03k forks source link

Question: How can I use agnoster in cmder? #2870

Closed moazam1 closed 1 year ago

moazam1 commented 1 year ago

Question

Trying to figure out if there is any way to use agnoster in cmder?

Checklist

DRSDavidSoft commented 1 year ago

Hi there, I found some great articles which explain how to install ZSH on top of Git for Windows: (Bear in mind, the full Cmder edition comes with Git, in which case you need to substitute the C:\Program Files\Git directory with [cmder_root]\vendor\git-for-windows)

Also install oh-my-zsh per the guides above, and configure the terminal of your choice to work with Cmder. (You can use the built-in ConEmu terminal in Cmder, or use WindowsTerminal with Cmder for example).

Then follow the guides below to configure agnoster on top of zsh:

Please note, the guides above doesn't explicitly use Windows as the OS, so package mangers such as brew and apt are not available on Windows. Use alterative methods to install the required fonts, etc. However, after you enter the zsh shell, everything that comes after is identical between Windows and Linux/macOS as mentioned in the above guides.

Good luck, and post your progress here, if you need additional help and/or run into any issues.

chrisant996 commented 1 year ago

@moazam1 it's unclear what you're asking.

moazam1 commented 1 year ago

@DRSDavidSoft Thank you. I will check the above links.

@chrisant996 I am using cmder on windows. It was a long time ago when I installed a plugin (I don't recall the name) and it displayed the git branches like the below screenshot:

image

I no longer have that cmder folder as my system got wiped down so trying to figure out what I used. May be agnoster or similar kind of a plugin?

chrisant996 commented 1 year ago

@moazam1 Oh, you're looking for an alternative prompt style that can be used with Cmder and uses the Powerline styling that's used agnoster and many other prompt themes.

Probably you used one of these before:

I had a fork of that as well, but I abandoned it and instead built this one which has more styles and capabilities and a configuration wizard:

Or you could use oh-my-posh or starship, which have various themes available to customize them further:

moazam1 commented 1 year ago

@chrisant996 thanks so much for the links. I absolutely love oh-my-posh. Took about 15 minutes to setup in cmder and now my terminal looks awesome!

chrisant996 commented 1 year ago

This issue can be closed.