mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
Disable ? as a glob by default
aka, enable the qmark-noglob feature by default.
This commit is contained in:
parent
42bb4b55d3
commit
34a5443cfd
@ -62,9 +62,9 @@ pub const METADATA: &[FeatureMetadata] = &[
|
|||||||
FeatureMetadata {
|
FeatureMetadata {
|
||||||
flag: FeatureFlag::qmark_noglob,
|
flag: FeatureFlag::qmark_noglob,
|
||||||
name: L!("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"),
|
description: L!("? no longer globs"),
|
||||||
default_value: false,
|
default_value: true,
|
||||||
read_only: false,
|
read_only: false,
|
||||||
},
|
},
|
||||||
FeatureMetadata {
|
FeatureMetadata {
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
# Explicitly overriding HOME/XDG_CONFIG_HOME is only required if not invoking via `make test`
|
# 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"'
|
# RUN: %fish --features '' -c 'string match --quiet "??" ab ; echo "qmarkon: $status"'
|
||||||
#CHECK: qmarkon: 0
|
#CHECK: qmarkon: 1
|
||||||
|
@ -54,7 +54,7 @@ eval test_function
|
|||||||
# Future Feature Flags
|
# Future Feature Flags
|
||||||
status features
|
status features
|
||||||
#CHECK: stderr-nocaret on 3.0 ^ no longer redirects stderr (historical, can no longer be changed)
|
#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: 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
|
#CHECK: ampersand-nobg-in-token on 3.4 & only backgrounds if followed by a separator
|
||||||
status test-feature stderr-nocaret
|
status test-feature stderr-nocaret
|
||||||
|
Loading…
x
Reference in New Issue
Block a user