From 71ddedb94cd2714406f25e335466f3f7af2979af Mon Sep 17 00:00:00 2001 From: stijn Date: Tue, 11 Feb 2020 15:26:53 +0100 Subject: [PATCH] Fix setup instructions in README After Install-Module the module is normally in the global module directory so prefixing with .\ won't find it. Also strip the extension since it is not needed and less strict. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 489df1c..e10b631 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,10 @@ Install-Module -Name PowerShell-Beautifier ``` 2. Import the module. This takes a few seconds the first time but is fast thereafter. ``` +Import-Module PowerShell-Beautifier +``` +Or, when running from a source distribution, specify the path to the module like +``` Import-Module .\PowerShell-Beautifier.psd1 ``` 3. Confirm it is loaded correctly: