From 22b2dbd97d1a042ed5fb8af9f771399a5ec21bf8 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 19 Dec 2019 20:59:17 +0100 Subject: [PATCH] functions/history: X is incompatible with SDMV, not C "-C" is short for "--case-sensitive", which is entirely okay with "--delete". The one that isn't okay is "-X", which is short for "--Clear". Seen on gitter.im --- share/functions/history.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/history.fish b/share/functions/history.fish index 355d45147..3573a01c7 100644 --- a/share/functions/history.fish +++ b/share/functions/history.fish @@ -16,7 +16,7 @@ end function history --description "display or manipulate interactive command history" set -l cmd history - set -l options --exclusive 'c,e,p' --exclusive 'S,D,M,V,C' + set -l options --exclusive 'c,e,p' --exclusive 'S,D,M,V,X' set -a options 'h/help' 'c/contains' 'e/exact' 'p/prefix' set -a options 'C/case-sensitive' 'R/reverse' 'z/null' 't/show-time=?' 'n#max' # The following options are deprecated and will be removed in the next major release.