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

Enhanced CMD.exe prompt #29

Open
jtnord opened this issue Dec 30, 2020 · 3 comments
Open

Enhanced CMD.exe prompt #29

jtnord opened this issue Dec 30, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@jtnord
Copy link

jtnord commented Dec 30, 2020

Summary

Enhance CMD.exe with features found in modern shells.

Powershell is ok for scripting, but is a step too far for an everyday working shell. Using bash (either in wsl or via cygwin) causes issues as paths are not as expected when you invoke tools.

For example things missing are

This is possible by third party extensions like https://github.com/mridgers/clink but it is not a supported solution.

Basic example

In the PROMPT I can see at a glance things like git branch/ kubernetes cluster / directory when you have multiple consoles open

Motivation

As a developer I often drop to the CMD.exe console to perform many tasks and have many consoles open at once when debugging / tracing applications.

Being able to efficiently use the CMD.exe benefits me by providing me with more contextual information so I am more efficient, and means I am less likely to delete the wrong kubernetes cluster.

@jtnord jtnord added the enhancement New feature or request label Dec 30, 2020
@jtnord jtnord changed the title Enhanced CMD.exe promt Enhanced CMD.exe prompt Dec 30, 2020
@LuanVSO
Copy link

LuanVSO commented Apr 22, 2021

why PowerShell is not suitable for you?

@jtnord
Copy link
Author

jtnord commented Nov 17, 2021

why PowerShell is not suitable for you?

It does bad things like curl is not curl, dir /s/b gives an error and basically everything is different.

as I said:

Powershell is ok for scripting, but is a step too far for an everyday working shell

@LuanVSO
Copy link

LuanVSO commented Nov 17, 2021

It does bad things like curl is not curl

image

unfortunately changing cmd in any way is a breaking change for someone and so the team responsible for it cannot/ are not interested in adding features to it. (see https://github.com/microsoft/terminal/blob/main/doc/Niksa.md#cmd and microsoft/terminal#217)

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

No branches or pull requests

2 participants