Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powerline integration with cmder #590

Closed
Psidium opened this issue Aug 12, 2015 · 10 comments
Closed

Powerline integration with cmder #590

Psidium opened this issue Aug 12, 2015 · 10 comments

Comments

@Psidium
Copy link

Psidium commented Aug 12, 2015

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

@glucas
Copy link
Contributor

glucas commented Aug 19, 2015

The prompt for a cmd.exe shell running under Cmder is configured by the script cmder\config\cmder.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.

@Psidium
Copy link
Author

Psidium commented Aug 19, 2015

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 cmder\config\cmder.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.

@kaqqao
Copy link

kaqqao commented Jun 14, 2016

Found these resources:

http://amreldib.com/blog/CustomizeWindowsCmderPrompt
http://codurance.com/2016/02/08/command-prompt-envy/

Haven't tried yet, but sounds promising.

@MadLittleMods
Copy link

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.

@Psidium
Copy link
Author

Psidium commented Aug 5, 2016

@MadLittleMods

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

As a note:

a

@Psidium Psidium closed this as completed Aug 5, 2016
@daxgames
Copy link
Member

daxgames commented Aug 5, 2016

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

@Psidium
Copy link
Author

Psidium commented Aug 5, 2016

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.

@daxgames
Copy link
Member

daxgames commented Aug 5, 2016 via email

@lborg019
Copy link

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

@hieudang9
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants