diff --git a/README.md b/README.md index 47a8f20..fe68b26 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,11 @@ type `Ctrl-v` and then press the key. Check your current bindings using: bind -S ``` +* get `hh` in more colors: +```bash +export HH_CONFIG=hicolor +``` + * increase the size of history: ```bash export HISTFILESIZE=10000 diff --git a/src/hstr.c b/src/hstr.c index 9f9ae60..4fd488d 100644 --- a/src/hstr.c +++ b/src/hstr.c @@ -79,6 +79,7 @@ static const char *INSTALL_STRING= "\n# add this configuration to ~/.bashrc" + "\nexport HH_CONFIG=hicolor # get more colors" "\nshopt -s histappend # append new history items to .bash_history" "\nexport HISTCONTROL=ignorespace # leading space hides commands from history" "\nexport HISTFILESIZE=10000 # increase history file size (default is 500)"