From: AJ ONeal Date: Wed, 1 Jul 2020 06:59:20 +0000 (-0600) Subject: add pwsh as alias for powershell X-Git-Url: https://git.josue.xyz/?p=webi-installers%2F.git;a=commitdiff_plain;h=65ebe70d56028eb2f6c7017a72bb8384eda28523 add pwsh as alias for powershell --- diff --git a/pwsh/install.sh b/pwsh/install.sh new file mode 100644 index 0000000..194fae2 --- /dev/null +++ b/pwsh/install.sh @@ -0,0 +1,10 @@ +# title: PowerShell (pwsh alias) +# homepage: https://webinstall.dev/powershell +# tagline: Alias for https://webinstall.dev/powershell +# alias: powershell +# description: | +# See https://webinstall.dev/powershell + +echo "'pwsh@${WEBI_TAG:-stable}' is an alias for 'powershell@${WEBI_VERSION:-}'" +WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"} +curl -fsSL "$WEBI_HOST/powershell@${WEBI_VERSION:-}" | bash