migrate powershell to nix

This commit is contained in:
Dan Vargas 2022-02-06 19:39:36 -07:00
parent f16eb5fa42
commit f35d3f910f
7 changed files with 59 additions and 21 deletions

View file

@ -1,6 +0,0 @@
#!/bin/bash
curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.1.4/powershell-7.1.4-linux-x64.tar.gz -o powershell.tar.gz
tar zxf powershell.tar.gz
rm powershell.tar.gz
chmod +x pwsh

View file

@ -1 +0,0 @@
export PATH=$PWD:$PATH

View file

@ -1,10 +0,0 @@
{
"language": "pwsh",
"version": "7.1.4",
"provides": [
{
"language": "powershell",
"aliases": ["ps", "pwsh", "ps1"]
}
]
}

View file

@ -1,3 +0,0 @@
#!/bin/bash
pwsh "$@"

View file

@ -1 +0,0 @@
echo "OK"