diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2023-04-18 03:42:56 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2023-04-18 16:23:00 -0700 |
commit | b260234faf34b19227e87698bc2a1402c4ea76ac (patch) | |
tree | bdb31bd8de13d93356c8a6260a5d1af5e8ad0c52 /bin/spack-tmpconfig | |
parent | 2f30da176228c7a78447f6894e8406ed7b7ff4dd (diff) | |
download | spack-b260234faf34b19227e87698bc2a1402c4ea76ac.tar.gz spack-b260234faf34b19227e87698bc2a1402c4ea76ac.tar.bz2 spack-b260234faf34b19227e87698bc2a1402c4ea76ac.tar.xz spack-b260234faf34b19227e87698bc2a1402c4ea76ac.zip |
editing: add higher-precedence `SPACK_EDITOR` environment variable
Other tools like git support `GIT_EDITOR` which takes higher precedence than the
standard `VISUAL` or `EDITOR` variables. This adds similar support for Spack, in the
`SPACK_EDITOR` env var.
- [x] consolidate editor code from hooks into `spack.util.editor`
- [x] add more editor tests
- [x] add support for `SPACK_EDITOR`
- [x] add a documentation section for controlling the editor and reference it
Diffstat (limited to 'bin/spack-tmpconfig')
0 files changed, 0 insertions, 0 deletions