Disable ? as a glob by default

aka, enable the qmark-noglob feature by default.
This commit is contained in:
Mahmoud Al-Qudsi 2024-01-24 21:17:36 -06:00
parent 42bb4b55d3
commit 34a5443cfd
3 changed files with 4 additions and 4 deletions

View File

@ -62,9 +62,9 @@ pub const METADATA: &[FeatureMetadata] = &[
FeatureMetadata {
flag: FeatureFlag::qmark_noglob,
name: L!("qmark-noglob"),
groups: L!("3.0"),
groups: L!("3.8"), // TODO: Decide if this is 3.8 or 4.0 at some later date
description: L!("? no longer globs"),
default_value: false,
default_value: true,
read_only: false,
},
FeatureMetadata {

View File

@ -1,3 +1,3 @@
# Explicitly overriding HOME/XDG_CONFIG_HOME is only required if not invoking via `make test`
# RUN: %fish --features '' -c 'string match --quiet "??" ab ; echo "qmarkon: $status"'
#CHECK: qmarkon: 0
#CHECK: qmarkon: 1

View File

@ -54,7 +54,7 @@ eval test_function
# Future Feature Flags
status features
#CHECK: stderr-nocaret on 3.0 ^ no longer redirects stderr (historical, can no longer be changed)
#CHECK: qmark-noglob off 3.0 ? no longer globs
#CHECK: qmark-noglob on 3.8 ? no longer globs
#CHECK: regex-easyesc on 3.1 string replace -r needs fewer \'s
#CHECK: ampersand-nobg-in-token on 3.4 & only backgrounds if followed by a separator
status test-feature stderr-nocaret