summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn W. Parent <45471568+johnwparent@users.noreply.github.com>2024-10-25 15:23:29 -0400
committerGitHub <noreply@github.com>2024-10-25 15:23:29 -0400
commit7b27aed4c85b3cf492ec8686cbcd30f302ea0d52 (patch)
treec7076e018918670f6dd16d233ad5804f8be3c995 /lib
parentad0b2564073ce91dfad2a49998c285525148a28a (diff)
downloadspack-7b27aed4c85b3cf492ec8686cbcd30f302ea0d52.tar.gz
spack-7b27aed4c85b3cf492ec8686cbcd30f302ea0d52.tar.bz2
spack-7b27aed4c85b3cf492ec8686cbcd30f302ea0d52.tar.xz
spack-7b27aed4c85b3cf492ec8686cbcd30f302ea0d52.zip
Normalize Spack Win entry points (#38648)
* Normalize Spack Win entrypoints Currently Spack has multiple entrypoints on Windows that in addition to differing from *nix implementations, differ from shell to shell on Windows. This is a bit confusing for new users and in general unnecessary. This PR adds a normal setup script for the batch shell while preserving the previous "click from file explorer for spack shell" behavior. Additionally adds a shell title to both powershell and cmd letting users know this is a Spack shell * remove doskeys
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/environment/shell.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/spack/spack/environment/shell.py b/lib/spack/spack/environment/shell.py
index b1d87a48fd..bb2dea04c0 100644
--- a/lib/spack/spack/environment/shell.py
+++ b/lib/spack/spack/environment/shell.py
@@ -48,8 +48,6 @@ def activate_header(env, shell, prompt=None, view: Optional[str] = None):
cmds += 'set "SPACK_ENV=%s"\n' % env.path
if view:
cmds += 'set "SPACK_ENV_VIEW=%s"\n' % view
- # TODO: despacktivate
- # TODO: prompt
elif shell == "pwsh":
cmds += "$Env:SPACK_ENV='%s'\n" % env.path
if view: