Recommended Posts

I don't know about the clock, but the colors can be manipulated through the Properties dialog of PowerShell

image.jpeg

This site talks about the "new" Terminal tab which includes experimental features, https://devblogs.microsoft.com/commandline/new-experimental-console-features/ so it could have been something that was there and then removed, or some other trick is needed to get the Clock prefix.

  On 26/05/2023 at 08:28, Steven P. said:

I don't know about the clock, but the colors can be manipulated through the Properties dialog of PowerShell

image.jpeg

This site talks about the "new" Terminal tab which includes experimental features, https://devblogs.microsoft.com/commandline/new-experimental-console-features/ so it could have been something that was there and then removed, or some other trick is needed to get the Clock prefix.

Expand  

Thanks. I think you are talking about CMD/PowerShell, not the (Windows) Terminal. The Terminal doesn't have such right-click menu, it has a "Settings", and by clicking on it, it goes to the Terminal setting page that has nothing about the feature.

ss.png.e46705d3d2f7ba07bfc4d57d1eba0a5b.png

  On 26/05/2023 at 11:46, binaryzero said:

+1 Oh My Posh\Powerlines. 

Been using it for years...

Expand  

Thanks. I'm not a power user of the command line. I use it for some CLI apps (like FFMPEG). I love this theme. Could you help me to make my Terminal prompt like the original SS above (from NeoWin)? I can add the clock by this command: prompt $T$H$H$H$S$P$. I know nothing more!

sss.png.11188c5a1413f2a5e83f2a305a600e3d.png

 

  On 26/05/2023 at 12:46, DonC said:

On PowerShell you can define a "prompt" function to do that kind of thing but the OP is using the command shell.

EDIT: Just realised it was a Neowin screenshot and not OP's actual shell. Oh My Posh is good advice.

Expand  

It's (Windows) Terminal. The SS is about Terminal version 1.17 (NeoWin blog post).

https://www.neowin.net/news/windows-terminal-preview-117-now-out-with-mica-support-and-process-restart/

  On 26/05/2023 at 14:57, neo2023 said:

I don't use 3rd-party app. The Neowin post uses Windows Terminal (like me). I think it has been modified by some "Prompt" command in "Environment Variables".

Expand  

all the ones you see are from oh-my-post, there is even articles on MS's site on how to set it up

https://learn.microsoft.com/en-us/windows/terminal/tutorials/custom-prompt-setup

I now notice that it is CMD this is being used and not Powershell.

There is a way to modify the CMD prompt;

prompt | Microsoft Learn

Try this in cmd;

prompt $c$t$f$g$p$g

I didn't get it exactly the same as in your screen shot. Still trying to get the last piece.

Ok. Got it.

prompt $c$t$f$g$p$g$_%username%@%computername%$g

 

Edited by Spannercrank
  On 26/05/2023 at 16:37, neo2023 said:

@Spannercrank Many thanks. Yours is closer to the Neowin SS. I think I have to ask the post author, but I don't know if he is here (in this forum)!

s.png.424d76fc7c18253225f6318cfca9d1ce.png

Expand  

Try this one;

prompt $c$t$f$g$p$g$_%username%@%computername%$g

  On 26/05/2023 at 14:57, neo2023 said:

I don't use 3rd-party app. The Neowin post uses Windows Terminal (like me). I think it has been modified by some "Prompt" command in "Environment Variables".

Expand  

I’m using Windows Terminal as well. 
 

https://starship.rs/

 

  On 26/05/2023 at 17:00, neo2023 said:

@Spannercrank Cool 🤩. Did you find out anything about the highlight (white on the clock and aqua in the username)?

ss.png.a56952b57a2e90f8d0d17b32211836da.png

Expand  

Working on it.

  On 26/05/2023 at 17:30, Spannercrank said:

Working on it.

Expand  

I don't think I got one of the colors exactly right but try this;

prompt $e[30m$e[47m$c$t$f$e[37m$e[46m$g$p$e[36m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

 

  On 26/05/2023 at 17:47, Spannercrank said:

I don't think I got one of the colors exactly right but try this;

prompt $e[30m$e[47m$c$t$f$e[37m$e[46m$g$p$e[36m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

Expand  

Oh God!!! You are a genius 😍👏🏻... Many many thanks. You would be God if you find out the aqua colour and the brackets code. Thanks... 👍🏻

s.png.adf980e3f2b18355b72de1b5e954cd4d.png

  On 26/05/2023 at 17:47, Spannercrank said:

 

Expand  

 

  On 26/05/2023 at 17:54, neo2023 said:

Oh God!!! You are a genius 😍👏🏻... Many many thanks. You would be God if you find out the aqua colour and the brackets code. Thanks... 👍🏻

s.png.adf980e3f2b18355b72de1b5e954cd4d.png

 

Expand  

You can get the aqua colour with a 24 bit colour code:

prompt $e[30m$e[47m$c$t$f$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

The 24 bit version of the background colour change is the following bit. You can adjust the RGB values (Red 0, Green 128, Blue 128 in the examples above) from 0 to 255 to fine tune it. Substitute "48" with "38" to change the foreground colour instead of the background colour.

$e[48;2;0;128;128m

 

  • Like 1
  • Thanks 1
  On 26/05/2023 at 18:28, DonC said:

You can get the aqua colour with a 24 bit colour code:

prompt $e[30m$e[47m$c$t$f$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

The 24 bit version of the background colour change is the following bit. You can adjust the RGB values (Red 0, Green 128, Blue 128 in the examples above) from 0 to 255 to fine tune it. Substitute "48" with "38" to change the foreground colour instead of the background colour.

$e[48;2;0;128;128m

 

Expand  

I was wondering why I could not get the color right. Thanks.

Here is the final version with the square brackets;

prompt $e[30m$e[47m[$t]$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g
 

 

  On 26/05/2023 at 18:28, DonC said:

You can get the aqua colour with a 24 bit colour code:

prompt $e[30m$e[47m$c$t$f$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

The 24 bit version of the background colour change is the following bit. You can adjust the RGB values (Red 0, Green 128, Blue 128 in the examples above) from 0 to 255 to fine tune it. Substitute "48" with "38" to change the foreground colour instead of the background colour.

$e[48;2;0;128;128m

 

Expand  

Co0o0o0o0o0o0l 🥳... Many thanks for the colour code.

  On 26/05/2023 at 18:34, Spannercrank said:

I was wondering why I could not get the color right. Thanks.

Here is the final version with the square brackets;

prompt $e[30m$e[47m[$t]$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g
 

 

Expand  

Many many many thanks 🥳👍🏻👌🏻. I removed "%username%" and "%computername%" but it didn't remove the second line. Do you know how we can remove it?

ssss.png.b6845f318a3d65f6c1c12f487083bf16.png

  On 26/05/2023 at 18:45, neo2023 said:

Co0o0o0o0o0o0l 🥳... Many thanks for the colour code.

Many many many thanks 🥳👍🏻👌🏻. I removed "%username%" and "%computername%" but it didn't remove the second line. Do you know how we can remove it?

ssss.png.b6845f318a3d65f6c1c12f487083bf16.png

Expand  

From the end of the prompt line remove up to and including the $_.

So you should have;

prompt $e[30m$e[47m[$t]$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m

 

  On 26/05/2023 at 19:07, neo2023 said:

@Spannercrank Thanks 👍🏻. My last question. I see the command text and background colour I type is changing to a new colour (Aqua text on Black Background). Should it be there, or can I change it to the default (Terminal's default colours)?

image.png.f4d7f416f6a4e3faaa588f50c3eb9238.png

Expand  

For that you need to put the colour reset code on the end:

prompt $e[30m$e[47m[$t]$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$e[0m

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • This DDR5-6400 CL36 32GB RGB RAM that supports both AMD and Intel is only $72 by Sayan Sen Recently, we covered several SSD deals, both internal and external. These include the Crucial X9 Pro and X10 Pro, the P310 2280, and the Samsung 990 EVO Plus. Meanwhile if you are looking for RAM to upgrade your desktop PC or build a new one, the PNY XLR8 Gaming EPIC-X RGB DDR5-6400 Kit can be your go-to choice as it is currently just $72 (purchase link down below). In terms of specs, this dual-RAM kit delivers 32GB of total DDR5 capacity (each module is 16GB) running at 3200 Hz to deliver 6400 MT/s (PC5-51200) at 1.4 volts. Pre-programmed Intel XMP 3.0 and AMD EXPO memory overclocking preset profiles mean you can fire up the kit to its rated speed with a simple BIOS tweak, rather than having to deal with manual timing adjustments. The CAS latency for this DDR5-6400 kit is 36, which is quite tight for a preset profile. Thermal performance is said to be stellar thanks to the aluminum heat spreader, which should help dissipate heat during extended gaming sessions. Additionally, the heat spreader is also said to feature an "embossed pennant design that enhances the overall look and complements the lighting of other components." Speaking of lighting, the included EPIC-X RGB model features ARGB LEDs diffused through a geometric polymer light pipe and allows syncing via Asus Aura Sync, Gigabyte RGB Fusion, MSI Mystic Light, or ASRock Polychrome Sync software. Get the PNY RAM at the link below: PNY XLR8 Gaming Epic-X RGB™ 32GB (2x16GB) DDR5 RAM 6400 CL36-48-48-104 Desktop Memory Kit (MD32GK2D5640036XRGB): $72.24 (Sold and Shipped by Amazon US) (MSRP: $109.99) This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • Vivaldi 7.5 is out with colorful tab stacks, improved tab menu, and more by Taras Buria Vivaldi Technologies has released a new feature update for the Vivaldi browser. Version 7.5 is now available with some much-requested features by the community, privacy improvements, bug fixes, and other changes. The release is not the biggest one, but it still packs useful changes, such as colorful tab stacks, a reworked tab context menu, and multiple improvements under the hood: Vivaldi now supports colorful Tab Stacks. This feature groups related tabs and helps you keep everything well-organized. Now, besides giving your stacks names, you can assign colors, which makes it easier to find the stack you need. Developers also added a new dialog: right-click a stack, click "Edit Stack," and give it a new name or choose a color. The browser also received a cleaner and better-organized tab context menu. Vivaldi says the new version is more intuitive and easier to use. Another important change is the ability to define a custom DNS provider with support for DNS over HTTPS. Finally, here are some of the under-the-hood improvements in Vivaldi 7.5: Address Bar: Fixed focus weirdness, suggestion hiccups, and dropdown quirks Ad Blocker: Now supports badfilter, strict3p, and strict1p rules Bookmarks & Notes: Better drag-and-drop, with clearer visual feedback Mail & Calendar: Smarter threading, invite handling, and polish throughout Dashboard & Widgets: Layout tweaks, transparency improvements, drag-and-drop goodness Quick Commands: Now shows synced tabs and handles errors more gracefully Settings: UI improvements across the board, from DNS input to workspace rules visibility You can find the complete changelog for Vivaldi 7.5 in a blog post on the official website. If you want to try this highly customizable browser, download it using this link.
    • "While users may say they do not want their data used for personalized ads, Meta believes that without personalization, user experience declines with an almost 800% rise in ads being marked as “irrelevant” or “repetitive”. The ads might be more irrelevant, but it's not like people crave ads in the first place. My user experience with ads isn't better with personalization, because I don't want them there to begin with. So I might as well have non-personalized ads if I am gonna have ads, because then I at least get tracked less, and that makes it a better user experience for me.
    • The fact that they didn't offer a non-personalized ad-supported option, when they were mandated by law, was the final nail in the coffin in my case.
  • Recent Achievements

    • Week One Done
      BeeJay_Balu earned a badge
      Week One Done
    • Week One Done
      filminutz earned a badge
      Week One Done
    • Reacting Well
      SteveJaye earned a badge
      Reacting Well
    • One Month Later
      MadMung0 earned a badge
      One Month Later
    • One Month Later
      Uranus_enjoyer earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      446
    2. 2
      ATLien_0
      161
    3. 3
      +FloatingFatMan
      147
    4. 4
      Nick H.
      65
    5. 5
      +thexfile
      62
  • Tell a friend

    Love Neowin? Tell a friend!