1
0
Fork 0
mirror of https://github.com/sbrl/bin.git synced 2018-01-10 21:33:46 +00:00

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

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;