mirror of https://github.com/sbrl/bin.git
Add intelligent check to new .bash_host
This commit is contained in:
parent
689e9516d8
commit
30f549c067
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue