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

Add intelligent check to new .bash_host

This commit is contained in:
Starbeamrainbowlabs 2017-07-05 12:41:36 +01:00
parent 689e9516d8
commit 30f549c067

View file

@ -32,3 +32,8 @@ HOST_COLOUR="${HC}${FYEL}"
# Whether we should disable hh integration or not.
# Useful if we're on a machine that doesn't have it installed.
NO_HH=false;
which hh;
if [[ "$?" -ne "0" ]; then
NO_HH=true;
fi