Powershell: Colors

Created on 25 May 2016  路  9Comments  路  Source: PowerShell/PowerShell

Steps to reproduce

  • Open terminal in OS X, with "Basic" (default) color schema.
  • Run powershell
  • run throw "foo"

    Expected behavior

Colors look ok

Actual behavior

Colors don't look ok

image

Environment data

v0.4.0

cc @nanalakshmanan

Issue-Bug OS-Linux OS-macOS Resolution-External Usability WG-Interactive-Console WG-Interactive-PSReadLine

All 9 comments

It's not only OS X actually.

This is from Ubuntu Server 14.04, terminal emulator with default colors

image

This is unacceptable

image

There's two issues here:

  • There's some non-PSReadline code that's overriding the background color of errors. We may want to remove this code now that PSReadline is the engine for changing colors.
  • PSReadline should have proper theme support (with at least light and dark themes, but potentially a host of others).

I'm able to set some of the colors on Mac OS, but the names of commands as I type them out remain yellow no matter what.

This issue was moved to lzybkr/PSReadLine#472

+1 Ubuntu

The default colors aren't great in osx, especially white on white for numbers and members, yellow for commands, and gray for types and operators. (I'm not a fan of the red error messages in Windows either.)

Btw when I tab complete on set-psreadlineoption or get-psreadlineoption in osx, it pops up twice.

@jszabo98 agreed on all fronts. The tab-completion bug is known too (I think it's somewhere in the PSReadline repo)

I am late to the party but I found the article which make your mac terminal window same like windows PowerShell. By Setting Profile. Please follow this below article
https://info.sapien.com/index.php/quickguides/setting-up-powershell-on-your-mac

Was this page helpful?
0 / 5 - 0 ratings