Set default editor to vi if EDITOR is not set.
This commit is contained in:
parent
3303365d12
commit
c256d5d1ac
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@
|
|||
from spack.util.executable import Executable, which
|
||||
|
||||
# User's editor from the environment
|
||||
editor = Executable(os.environ.get("EDITOR", ""))
|
||||
editor = Executable(os.environ.get("EDITOR", "vi"))
|
||||
|
||||
# Curl tool for fetching files.
|
||||
curl = which("curl", required=True)
|
||||
|
|
Loading…
Reference in a new issue