Making keywords match the default.

This commit is contained in:
Martin Dvorak 2018-04-27 16:25:31 +02:00
parent c7929a8753
commit adea111aca
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
#!/bin/bash
# boostrap new OR refresh distribution base for pbuilder
export DISTRO=artful
export DISTRO=beaver
sudo pbuilder --create $DISTRO
rm -vf ~/pbuilder/${DISTRO}-base.tgz

View file

@ -102,13 +102,13 @@ Configuration options:
Do not ask for confirmation on a history entry delete (default is with confirmation).
\fIregexp\fR
Filter command history using regular expressions (substring match is default)
Filter command history using regular expressions.
\fIsubstring\fR
Filter command history using substring.
\fIkeywords\fR
Filter command history using keywords - item matches if contains all keywords in pattern in any order.
Filter command history using keywords - item matches if contains all keywords in pattern in any order (keywords match is default).
\fIcasesensitive\fR
Make history filtering case sensitive (it's case insensitive by default).

View file

@ -315,7 +315,7 @@ void hstr_init()
hstr->selectionRegexpMatch=NULL;
hstr->selectionSize=0;
hstr->historyMatch=HH_MATCH_SUBSTRING;
hstr->historyMatch=HH_MATCH_KEYWORDS;
hstr->historyView=HH_VIEW_RANKING;
hstr->caseSensitive=HH_CASE_INSENSITIVE;