mirror of
https://github.com/dvorka/hstr.git
synced 2024-12-29 11:11:32 +08:00
Adding blacklists to documentation.
This commit is contained in:
parent
0ad945d245
commit
0a326250c6
1 changed files with 18 additions and 1 deletions
|
@ -10,6 +10,7 @@ For more configuration options details please refer to:
|
||||||
* bind `hh` command to a [keyboard shortcut](#binding-hh-to-keyboard-shortcut)
|
* bind `hh` command to a [keyboard shortcut](#binding-hh-to-keyboard-shortcut)
|
||||||
* get more [colors](#colors)
|
* get more [colors](#colors)
|
||||||
* choose [default history view](#history-view)
|
* choose [default history view](#history-view)
|
||||||
|
* [command blacklist](#blacklist)
|
||||||
* [verbosity](#verbosity)
|
* [verbosity](#verbosity)
|
||||||
* [Bash history settings](#bash-history-settings)
|
* [Bash history settings](#bash-history-settings)
|
||||||
* [zsh history settings](#zsh-history-settings)
|
* [zsh history settings](#zsh-history-settings)
|
||||||
|
@ -99,8 +100,24 @@ Make search case sensitive (insensitive by default):
|
||||||
export HH_CONFIG=casesensitive
|
export HH_CONFIG=casesensitive
|
||||||
```
|
```
|
||||||
|
|
||||||
|
BLACKLIST
|
||||||
|
---------
|
||||||
|
Skip commands when processing history i.e. make sure that these commands
|
||||||
|
will *not* be shown in any view:
|
||||||
|
```bash
|
||||||
|
export HH_CONFIG=blacklist
|
||||||
|
```
|
||||||
|
Commands to be stored in `~/.hh_blacklist` file with trailing empty line. For instance:
|
||||||
|
```
|
||||||
|
cd
|
||||||
|
my-private-command
|
||||||
|
ls
|
||||||
|
ll
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
VERBOSITY
|
VERBOSITY
|
||||||
-------
|
---------
|
||||||
Show warnings:
|
Show warnings:
|
||||||
```bash
|
```bash
|
||||||
export HH_CONFIG=warning
|
export HH_CONFIG=warning
|
||||||
|
|
Loading…
Reference in a new issue