summaryrefslogtreecommitdiff
path: root/bin/spack.ps1
AgeCommit message (Collapse)AuthorFilesLines
2024-01-02Update copyright year to 2024 (#41919)Todd Gamblin1-1/+1
It was time to run `spack license update-copyright-year` again.
2023-09-08Spack on Windows: fix shell scripts when root contains a space (#39875)John W. Parent1-17/+16
Enclose variable tracking root in quotes.
2023-09-01Windows: fix pwsh env activate/deactivate; load/unload (#39118)John W. Parent1-4/+19
These commands are currently broken on powershell (Windows) due to improper use of the InvokeCommand commandlet and a lack of direct support for the `--pwsh` argument in `spack load`, `spack unload`, and `spack env deactivate`.
2023-06-27Windows: Add PowerShell env support (#37951)John W. Parent1-0/+132
PowerShell requires explicit shell and env support in Spack. This is due to the distinct differences in shell interactions between cmd and pwsh. Add a doskey in pwsh piping 'spack' commands to a powershell script similar to the sh function 'spack'. Add support for PowerShell-specific shell interactions from Spack (set/unset shell variables).