Cmder: Powerline integration with cmder

Created on 12 Aug 2015  Â·  10Comments  Â·  Source: cmderdev/cmder

I'm a big fan of the Powerline on vim and on shells too, but I can't find a way to use it on cmder.
https://github.com/powerline/powerline
https://github.com/milkbikis/powerline-shell

I assume that, since cmder shows the git branch that I'm currently on and the lambda symbol, there must be some way to change the "PS1" (referencing the bash variable, not the powershell file, the place where it says the dir where I'm on). Could someone point me where to go? I'd love to make a new pull request or wiki entry on how to add powerline to cmder

PS.: I know it's possible to install on cygwin, but that's not what I want, I want cmd.exe running powerline

Most helpful comment

@MadLittleMods

I'll be using fish when this feature lands for everyone (currently only insiders get it).

As a note:

a

All 10 comments

The prompt for a cmd.exe shell running under Cmder is configured by the script cmderconfigcmder.lua.

Lua script configuration is a feature of clink (http://mridgers.github.io/clink/), which Cmder includes. I'm not sure powerline is possible here, since ultimately that lua script is just setting the Windows cmd.exe PROMPT variable. But you could ask over at the clink project, perhaps.

Thanks! I'll sure look into it

Enviado do Outlook

On Wed, Aug 19, 2015 at 7:44 AM -0700, "Greg Lucas" [email protected] wrote:

The prompt for a cmd.exe shell running under Cmder is configured by the script cmderconfigcmder.lua.

Lua script configuration is a feature of clink (http://mridgers.github.io/clink/), which Cmder includes. I'm not sure powerline is possible here, since ultimately that lua script is just setting the Windows cmd.exe PROMPT variable. But you could ask over at the clink project, perhaps.

—
Reply to this email directly or view it on GitHub.

With the recent Windows 10 update, you can now use bash and get zsh, oh-my-zsh , and some Powerline fonts. I have some notes in a gist on how I accomplished it.

@MadLittleMods

I'll be using fish when this feature lands for everyone (currently only insiders get it).

As a note:

a

It was actually released this week and anyone can be an insider. They just need to configure theire system to participate.

Yeah but not on corporate Windows versions :)

Get Outlook for iOS

On Fri, Aug 5, 2016 at 12:18 PM -0300, "Dax T Games" [email protected] wrote:

It was actually released this week and anyone can be an insider. They just need to configure theire system to participate.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

True. Was not thinking of Windows 10 for corporate use.

I am currently working on my own hack.
I was able to do it with zsh using Microsoft's Unix Subsystem, but there really is no need for it.
check out this blogpost: https://amreldib.com/blog/CustomizeWindowsCmderPrompt
and gist: https://gist.github.com/AmrEldib/1d31cd54409a8ec612df

Hello there,
Any update here? I want same thing as original post.
Thanks in advance.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luisrudge picture luisrudge  Â·  3Comments

GlassGruber picture GlassGruber  Â·  3Comments

AaronKaa picture AaronKaa  Â·  3Comments

jenisys picture jenisys  Â·  3Comments

brunowego picture brunowego  Â·  3Comments