Initial commit
This commit is contained in:
13
scripts/setup-nu.ps1
Normal file
13
scripts/setup-nu.ps1
Normal file
@@ -0,0 +1,13 @@
|
||||
# Invoke nu to ensure that the `env.nu` file exists
|
||||
nu --login --commands "echo 'hello from nu'"
|
||||
|
||||
# TODO: consider adding these using regedit or something
|
||||
Add-Content -Path "$HOME/AppData/Roaming/nushell/env.nu" -Value @'
|
||||
|
||||
$env.PATH ++= [
|
||||
'C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\MSBuild\Current\Bin'
|
||||
'C:\ProgramData\chocolatey\bin'
|
||||
'C:\Program Files\Git\cmd'
|
||||
'C:\Program Files\Volta'
|
||||
]
|
||||
'@
|
||||
Reference in New Issue
Block a user