projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22b404d
)
add pwsh as alias for powershell
author
AJ ONeal
<coolaj86@gmail.com>
Wed, 1 Jul 2020 06:59:20 +0000
(
00:59
-0600)
committer
AJ ONeal
<coolaj86@gmail.com>
Wed, 1 Jul 2020 06:59:20 +0000
(
00:59
-0600)
pwsh/install.sh
[new file with mode: 0644]
patch
|
blob
diff --git a/pwsh/install.sh
b/pwsh/install.sh
new file mode 100644
(file)
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