Skip to content
Snippets Groups Projects
Commit 600f3c11 authored by Todd Gamblin's avatar Todd Gamblin
Browse files

setup-env.sh: send cd output to /dev/null when it affects Spack

- We've seen this a few times now where users have set up `cd` to echo
  the new directory, and it screws up `setup-env.sh`

- In the past we've said this is user error.

- Here, we just fix it by sending `cd` output to /dev/null where needed.
  - this works in bash, zsh, and dash
parent 9c16b4a7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment