mirror of
https://github.com/dvorka/hstr.git
synced 2025-01-02 05:02:41 +08:00
Colors: improving man and --show-configuration
This commit is contained in:
parent
37cec64418
commit
cad11bc2e2
2 changed files with 6 additions and 0 deletions
|
@ -90,6 +90,11 @@ type `Ctrl-v` and then press the key. Check your current bindings using:
|
||||||
bind -S
|
bind -S
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* get `hh` in more colors:
|
||||||
|
```bash
|
||||||
|
export HH_CONFIG=hicolor
|
||||||
|
```
|
||||||
|
|
||||||
* increase the size of history:
|
* increase the size of history:
|
||||||
```bash
|
```bash
|
||||||
export HISTFILESIZE=10000
|
export HISTFILESIZE=10000
|
||||||
|
|
|
@ -79,6 +79,7 @@
|
||||||
|
|
||||||
static const char *INSTALL_STRING=
|
static const char *INSTALL_STRING=
|
||||||
"\n# add this configuration to ~/.bashrc"
|
"\n# add this configuration to ~/.bashrc"
|
||||||
|
"\nexport HH_CONFIG=hicolor # get more colors"
|
||||||
"\nshopt -s histappend # append new history items to .bash_history"
|
"\nshopt -s histappend # append new history items to .bash_history"
|
||||||
"\nexport HISTCONTROL=ignorespace # leading space hides commands from history"
|
"\nexport HISTCONTROL=ignorespace # leading space hides commands from history"
|
||||||
"\nexport HISTFILESIZE=10000 # increase history file size (default is 500)"
|
"\nexport HISTFILESIZE=10000 # increase history file size (default is 500)"
|
||||||
|
|
Loading…
Reference in a new issue