Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.25 KB

README.md

File metadata and controls

37 lines (21 loc) · 1.25 KB

PSColors

This PowerShell provides no functions to be used. Instead it will provide some coloring for PowerShell:

  • Forces background color to black
  • Green prompt, without changing the actual foreground color
  • If used in a ANSI console (like ConEmu), it will also provide coloring for files output

Extra features

Hiding dot files

By setting environment variable PSCOLORS_HIDE_DOTFILE to true, PSColors will prevent Get-ChildItem Cmdlet from outputting files whose names start with a dot, unless -Force is used.

This will make PowerShell behave similar to Unix's ls command.

Installing

Windows 10 users:

Install-Module PSColors -Scope CurrentUser -AllowClobber

NOTE: AllowClobber is only required after Aniversary Update

Otherwise, if you have PsGet installed:

Install-Module PSColors

Or you can install it manually copying PSColors.psm1 to your modules folder (e.g. $Env:USERPROFILE\Documents\WindowsPowerShell\Modules\PSColors\)

After installed, you will also need to explicitly load this module:

Import-Module PSColors

It's recommended that you this command to your profile file ($PROFILE) in order for the prompt function to take effect.