Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about ps1

Read more about ps1

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - ps1

Format python virtual environment name with shell variable PS1 on bash prompt

I'm trying to customize the bash prompt with the shell variable PS1. How can I access the python virtual environment name to apply color formatting? PS1 is set to: \u@\h in \W \$ I would expect the ou...
test-img

coemu

python

bash

shell

python-venv

ps1

Votes: 0

Answers: 1

Latest Answer

The activate script makes a one-time change of hard-coding the name of the virtual environment into the current value of PS1. You can disable this by adding VIRTUAL_ENV_DISABLE_PROMPT to your environm...
test-img

chepner

Converting New-SelfSignedCertificate to X509Certificate2 : some options available in ps1 are missing in C#

I am trying to replace the existing ps1 script that creates self signed certificate with C# code. There are quite a lot of references like this that describes bulk of creating self-signed certificate ...
test-img

Shintaro Takechi

c#

ssl-certificate

x509certificate

ps1

Votes: 0

Answers: 1

Latest Answer

It's hard to answer accurately given that you haven't shared code. Extra harder because you don't seem to be describing problems (so your code might have all of these effects already) -KeyUsageProper...
test-img

bartonjs

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved