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

Add optional NO_HH .bash_host variable

This commit is contained in:
Starbeamrainbowlabs 2017-04-10 15:27:24 +01:00
parent 29e07a06ee
commit 52d1a5a8de
2 changed files with 10 additions and 3 deletions

View file

@ -25,4 +25,9 @@ BCYN="\[\033[46m\]" # background cyan
BWHT="\[\033[47m\]" # background white
##########################
# The colour of the host part of the prompt
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;

View file

@ -152,9 +152,11 @@ fi
source ~/bin/commacd.sh
if [[ ! ${NO_HH} ]]; then
# hh / hstr configuration (https://github.com/dvorka/hstr/)
export HH_CONFIG=hicolor # get more colors
if [[ $- =~ .*i.* ]]; then bind '"\C-r": "\C-a hh \C-j"'; fi
fi
# dh_make configuration
DEBEMAIL="feedback@starbeamrainbowlabs.com"