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:
parent
29e07a06ee
commit
52d1a5a8de
2 changed files with 10 additions and 3 deletions
|
@ -25,4 +25,9 @@ BCYN="\[\033[46m\]" # background cyan
|
||||||
BWHT="\[\033[47m\]" # background white
|
BWHT="\[\033[47m\]" # background white
|
||||||
##########################
|
##########################
|
||||||
|
|
||||||
|
# The colour of the host part of the prompt
|
||||||
HOST_COLOUR="${HC}${FYEL}"
|
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;
|
||||||
|
|
8
.bashrc
8
.bashrc
|
@ -152,9 +152,11 @@ fi
|
||||||
|
|
||||||
source ~/bin/commacd.sh
|
source ~/bin/commacd.sh
|
||||||
|
|
||||||
# hh / hstr configuration (https://github.com/dvorka/hstr/)
|
if [[ ! ${NO_HH} ]]; then
|
||||||
export HH_CONFIG=hicolor # get more colors
|
# hh / hstr configuration (https://github.com/dvorka/hstr/)
|
||||||
if [[ $- =~ .*i.* ]]; then bind '"\C-r": "\C-a hh \C-j"'; fi
|
export HH_CONFIG=hicolor # get more colors
|
||||||
|
if [[ $- =~ .*i.* ]]; then bind '"\C-r": "\C-a hh \C-j"'; fi
|
||||||
|
fi
|
||||||
|
|
||||||
# dh_make configuration
|
# dh_make configuration
|
||||||
DEBEMAIL="feedback@starbeamrainbowlabs.com"
|
DEBEMAIL="feedback@starbeamrainbowlabs.com"
|
||||||
|
|
Loading…
Reference in a new issue