summarylogtreecommitdiffstats
path: root/spack.csh
diff options
context:
space:
mode:
Diffstat (limited to 'spack.csh')
-rw-r--r--spack.csh2
1 files changed, 2 insertions, 0 deletions
diff --git a/spack.csh b/spack.csh
index 90e1ca2a828..ddeecba05aa 100644
--- a/spack.csh
+++ b/spack.csh
@@ -1,3 +1,5 @@
setenv SPACK_ROOT /opt/spack
setenv PATH /opt/spack/bin:${PATH}
setenv MODULEPATH /var/lib/spack/modules/tcl/:${MODULEPATH}
+
+alias spack "pkexec --user spack ${SPACK_ROOT}/bin/spack $@"