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:
parent
689e9516d8
commit
30f549c067
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue