Comments (6)
@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:
- Customize Windows Cmder Prompt (which links to AmrEldib/cmder-powerline-prompt).
- fredjoseph/cmder-powerline-prompt, which is an adaptation of AmrEldib's.
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:
- clink-flex-prompt, similar to powerlevel10k for zsh.
Or you could use oh-my-posh or starship, which have various themes available to customize them further:
- oh-my-posh, with many themes, including three inspired by agnoster for zsh (agnoster.minimal, agnoster, and agnosterplus).
- starship, which is powerful but takes more effort to configure.
from cmder.
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
)
- https://medium.com/@leomaurodesenv/setting-up-your-git-bash-zsh-terminals-on-windows-fa94871f440d
- https://dominikrys.com/posts/zsh-in-git-bash-on-windows/
- https://dev.to/equiman/zsh-on-windows-without-wsl-4ah9
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:
- https://inspirnathan.com/posts/22-install-ohmyzsh-with-agnoster-theme/
- https://gabrieltanner.org/blog/customizing-terminal-using-ohmyzsh/
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.
from cmder.
@moazam1 it's unclear what you're asking.
- Are you asking how to run Linux on Windows, so that you can use the zsh shell, so that you can use a specific theme in zsh?
- Are you asking for pointers on how to convert themes from other shells (like zsh) to be usable with Clink with CMD.exe in Cmder?
- Are you asking literally just if the agnoster theme for zsh can be used as-is with things other than zsh? No, it's designed for zsh.
from cmder.
@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:
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?
from cmder.
@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!
from cmder.
This issue can be closed.
from cmder.
Related Issues (20)
- [Bug] Multiple WindowSpace entries each time a new process is hooked with cmder HOT 2
- [Bug] After idling Cmder for a while, ls takes long time to finish HOT 2
- Question: is it possible to auto complete suggestion (grayed out suggestion) HOT 2
- does cmder come packaged with curl and php? HOT 10
- [Bug] Not able to attach to debugger in VS Code Terminal HOT 3
- [Bug] cmder gets stuck on git reflog HOT 9
- 运行总是提示:“此时不应有 D:\Program。” HOT 6
- Aliases not recognized + system can't find path specified HOT 14
- [Bug] problem with "home" and 'end" keys
- [Feature request] Allow terminal to accept and run commands before cmder is fully loaded HOT 5
- [Bug] Shortcuts not work in cmder, and alias names aren't coloured correctly. HOT 6
- Question: How to update curl version in Bash console? HOT 5
- Question: Alias with admin permission
- [Bug] wired color blocks when running a CLI program based on Python and prompt_toolkit in cmder HOT 6
- [Bug] Chinese compatibility problem after resolving Kconfig files HOT 2
- [Feature request] fzf integration
- [Feature request] Update Clink version chrisant996 / v1.6.8 HOT 7
- [Bug] Predefined task: as Admin
- Question: How do I change the route cmder has to find ssh keys? HOT 11
- [Bug] Midnight Commander and msys HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmder.