Coloring PowerShell manual pages.
-
Run PowerShell as Administrator.
-
Execute the following command:
Install-Module man-highlighting
and if you face any errors running that command, run:
Install-Module man-highlighting -AllowClobber
-
Restart PowerShell and run:
Import-Module man-highlighting
or simply:
echo "Import-Module man-highlighting" >> $profile
so you don't have to import the module every time you open PowerShell.
-
Execute the program:
Get-Help <name of cmdlet>
-
Clone the repository to local machine:
git clone https://github.com/digitalguy99/pwsh-man-highlighting.git
-
Use
cd
to navigate to local repository:cd <path of directory>
-
Put
man.ps1
in your$env:PATH
directory:mv man.ps1 <$env:PATH directory>
-
Execute the program:
man <name of cmdlet>
zett42 |