Skip to content

ecsousa/PSColors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

PowerShell Module for colloring Prompt and Files outputs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published