{"id":13599118,"url":"https://github.com/JustABearOz/PoshColor","last_synced_at":"2025-04-10T12:31:33.005Z","repository":{"id":49497966,"uuid":"212954334","full_name":"JustABearOz/PoshColor","owner":"JustABearOz","description":"Adds customizable color and themes to Powershell","archived":false,"fork":false,"pushed_at":"2020-12-27T05:28:17.000Z","size":2301,"stargazers_count":56,"open_issues_count":4,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-30T10:12:45.178Z","etag":null,"topics":["color-theme","colorful","colorization","powershell","powershell-core","pscolor","theme"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JustABearOz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-05T06:23:24.000Z","updated_at":"2024-09-13T19:29:23.000Z","dependencies_parsed_at":"2022-09-16T07:51:32.005Z","dependency_job_id":null,"html_url":"https://github.com/JustABearOz/PoshColor","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustABearOz%2FPoshColor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustABearOz%2FPoshColor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustABearOz%2FPoshColor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustABearOz%2FPoshColor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JustABearOz","download_url":"https://codeload.github.com/JustABearOz/PoshColor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223302809,"owners_count":17123084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["color-theme","colorful","colorization","powershell","powershell-core","pscolor","theme"],"created_at":"2024-08-01T17:00:59.890Z","updated_at":"2024-11-07T00:30:47.598Z","avatar_url":"https://github.com/JustABearOz.png","language":"PowerShell","readme":"# PoshColor\nPoshColor is a blatant ripoff of [PSColor](https://github.com/Davlind/PSColor) :relaxed:, allowing you to customise items in powershell based on your own color preferences. PoshColor works in Powershell Core and works across both Windows and Linux.\n\nPSColozier can use either standard console colors or 8 bit RGB allowing 16 million colour goodness.\n\n## Features\n* Colors can be set to RGB or Named colors from .Net (System.Drawing.Color)\n* Tested under Windows (powershell and powershell core) and Linux (Ubuntu/bash Ubuntu/powershell core)\n* Support for Background colors\n* Coloring of:\n  * EventLogRecord (get-winevent)\n  * Files, Directories (ls / get-childitem)\n  * MatchInfo (select-string)\n  * MemberInfo (get-member)\n  * PSModuleInfo (get-module)\n  * PSDriveInfo (get-psdrive)\n  * Services (get-service)\n* Files \u0026 Directories can have rules for coloring including based the following:\n  * File Names using regular expressions\n  * File Attributes such as directory, hidden, system, encypted or compressed\n* Theme support\n* Can be unloaded/reloaded without causing issues in your current session\n\n### Screenshot of Get-Childitem\n![Screenshot of get-childitem](images/lsresult.png)\n\n### Screenshot of Select String with -Context 1\n![Screenshot of select-string with context](images/selectstringwithcontextresult.png)\n\n### Screenshot of Get-Service\n![Screenshot of Get-Service](images/getserviceresult.png)\n\n### Get-Command\n![Screenshot of Get-Command](images/getcommandresult.png)\n## Themes\nThere are currently 3 themes that come with PoshColor. Feel free to contribute more themes to make PoshColor the best it can be.\n\n### Included themes\n|Theme Name| Description|\n|--|--|\n|Default|The default theme using standard terminal colors|\n|DefaultHighColor| Similar styling to Default, but uses 8 bit RGB colors|\n|Cool| Uses RGB colors to provide a theme based on whites, blues and greens|\n\n## Comands\n|Command|Description|\n|---|---|\n|Get-PoshColorTheme|Gets the current theme being used by PoshColor|\n|Set-PoshColorTheme|Sets the current theme for PoshColor to use|\n|Get-PoshColorThemes|Gets a list of all installed PoshColor themes|\n\n## Installation\n### PowershellGallery\n```powershell\nInstall-Module PoshColor\n\nImport-Module PoshColor\n```\n### Install from source\n```powershell\ngit clone https://github.com/JustABearOz/PoshColor.git\n\nsl .\\PoshColor\n\n.\\Install.ps1\n```\n\n### Install from Zip\nDownload the latest [release](https://github.com/JustABearOz/PoshColor/releases) and extract it into your powershell modules directory. \n\n### Add to Profile\nThe above installation methods will load the PoshColor module for your current session. If you want the PoshColor module loaded for all sessions, add the following line to your profile\n```pwsh\nImport-Module PoshColor\n```\n### Updating PoshColor\nTo update PoshColor to the newest version, run the following command in powershell\n```pwsh\nUpdate-Module PoshColor\n```\n\n### Unload PoshColor\nTo unload PoshColor from your session, run the following command in powershell\n```pwsh\nRemove-Module PoshColor\n```\n\n### Themes\nTo view a list of installed themes\n```powershell\nGet-PoshColorThemes\n```\n\nTo set the current theme (Setting theme too Cool)\n```powershell\nSet-PoshColorTheme Cool\n```\n\nTo view the current theme\n``` Powershell\nGet-PoshColorTheme\n```\n\n## Questions\n### Why not contribute to PSColor?\nPS Color seems to be a dead repository. There have not been any updates to the repo in a few years, and there are a few outstanding issues that have not been resolved. Yes, I could fix these issues, however there are PRs others have raised to fix some of the issues which have not been accepted in years. ALSO, I thought it would be fun to do :)\n","funding_links":[],"categories":["PowerShell","⭐ Themes","Themes"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJustABearOz%2FPoshColor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJustABearOz%2FPoshColor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJustABearOz%2FPoshColor/lists"}