1
0
Fork 0

Add option to explicitly specify $VISUAL in .bash_host as some systems need it apparently

This commit is contained in:
Starbeamrainbowlabs 2017-10-09 19:03:22 +01:00
parent 70ff867704
commit fab0f7313b
1 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,11 @@ NO_HH=false;
# with extreme caution!
FORCE_HH=false;
# The preferred CLI text editor. Not needed on most systems due to sensible-editor,
# but needed on arch-like systems apparently.
#export VISUAL="nano";
which hh 1>/dev/null 2>&1;
if [[ "$?" -ne "0" ]]; then
NO_HH=true;