Code Monkey home page Code Monkey logo

Comments (4)

examosa avatar examosa commented on June 2, 2024 1

@mrfjca To persist the change, you'll want to save the string to the %PROMPT% environment variable. This can be accomplished in cmd using setx:

setx PROMPT "$E[1;32;40m→ $E[1;36;40m$p$E[1;35;40m› $E[1;37;40m"

from powershell.

examosa avatar examosa commented on June 2, 2024

Hi @jhollender!

I believe that prompt string is intended for cmd.exe; you can use it with the prompt command like so:

image

To set the prompt in PowerShell, you'll likely want to use dracula-prompt-configuration.ps1. Here's what that looks like:

image

from powershell.

mrfjca avatar mrfjca commented on June 2, 2024

hi,

I set the prompt to $E[1;32;40m→ $E[1;36;40m$p$E[1;35;40m› $E[1;37;40m successfully, and after setting, the changes are visible.
Screenshot 2022-08-29 213832

But when I close cmd and open it again, it goes back to the previous state !
Screenshot 2022-08-29 213927

from powershell.

mrfjca avatar mrfjca commented on June 2, 2024

@examosa The problem was fixed 👍
Thank you very much for your help 🙏.

from powershell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.