mirror of
https://github.com/dvorka/hstr.git
synced 2025-02-24 06:47:16 +08:00
Making keywords match the default.
This commit is contained in:
parent
c7929a8753
commit
adea111aca
3 changed files with 4 additions and 4 deletions
2
dist/ubuntu-add-new-distro-base.sh
vendored
2
dist/ubuntu-add-new-distro-base.sh
vendored
|
@ -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
|
||||
|
|
4
man/hh.1
4
man/hh.1
|
@ -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).
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue