mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +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 {
|
||||
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 {
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user