From 35ef584cd7066c0ac35ecddd52801769c75e7e98 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 17 Apr 2024 02:40:42 +0100 Subject: [PATCH] update readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 12c5a96..b4f665b 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,8 @@ traefik-helper ## Windows Alias +Create the directory `~/Documents/WindowsPowerShell` and create a file called `Microsoft.PowerShell_profile.ps1` in that directory. Add the following code to the file. + ```bash function Traefik-Helper { $argsAsString = $args -join ' ' @@ -33,5 +35,7 @@ function Traefik-Helper { } # Set the alias -Set-Alias -Name "traefik-helper" -Value "Traefik-Helper" +Set-Alias -Name "traefik" -Value "Traefik-Helper" ``` + +This will allow you to run the `traefik` command in PowerShell.