1
0
Fork 0

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
1 changed files with 5 additions and 0 deletions

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