diff --git a/CONFIGURATION.md b/CONFIGURATION.md index 54c5391..36f2423 100644 --- a/CONFIGURATION.md +++ b/CONFIGURATION.md @@ -152,7 +152,7 @@ ll Do not prompt for confirmation when deleting history items: ```bash -export HH_CONFIG=noconfirm +export HH_CONFIG=no-confirm ``` ## Verbosity @@ -266,7 +266,7 @@ export HISTFILE=~/.zsh_history More colors with case sensitive search of history: ```bash -export HH_CONFIG=hicolor,casesensitive +export HH_CONFIG=hicolor,case-sensitive ``` Favorite commands view in black and white: diff --git a/man/hstr.1 b/man/hstr.1 index b97fdf4..f867a44 100644 --- a/man/hstr.1 +++ b/man/hstr.1 @@ -96,7 +96,7 @@ Configuration options: \fIprompt-bottom\fR Show prompt at the bottom of the screen (default is prompt at the top). -\fInoconfirm\fR +\fIno-confirm\fR Do not ask for confirmation on a history entry delete (default is with confirmation). \fIregexp-matching\fR @@ -108,7 +108,7 @@ Configuration options: \fIkeywords-matching\fR Filter command history using keywords - item matches if contains all keywords in pattern in any order (keywords match is default). -\fIcasesensitive\fR +\fIcase-sensitive\fR Make history filtering case sensitive (it's case insensitive by default). \fIraw-history-view\fR diff --git a/src/hstr.c b/src/hstr.c index 2f2f9a1..6ff3a05 100644 --- a/src/hstr.c +++ b/src/hstr.c @@ -74,11 +74,11 @@ #define HSTR_CONFIG_SKIP_FAVORITES_COMMENTS "skip-favorites-comments" #define HSTR_CONFIG_FAVORITES "favorites-view" #define HSTR_CONFIG_SORTING "raw-history-view" -#define HSTR_CONFIG_CASE "casesensitive" +#define HSTR_CONFIG_CASE "case-sensitive" #define HSTR_CONFIG_REGEXP "regexp-matching" #define HSTR_CONFIG_SUBSTRING "substring-matching" #define HSTR_CONFIG_KEYWORDS "keywords-matching" -#define HSTR_CONFIG_NOCONFIRM "noconfirm" +#define HSTR_CONFIG_NOCONFIRM "no-confirm" #define HSTR_CONFIG_VERBOSE_KILL "verbose-kill" #define HSTR_CONFIG_PROMPT_BOTTOM "prompt-bottom" #define HSTR_CONFIG_BLACKLIST "blacklist"