fish-shell/share
Gabriel Górski 21ddfabb8d
Simplify and fix __fish_is_zfs_feature_enabled (#9939)
* Simplify and fix `__fish_is_zfs_feature_enabled`

Previously `__fish_is_zfs_feature_enabled` was doing
`<whitespace>$queried_feature<whitespace>` pattern matching which
was skipping the state part expected in the follow-up checking code.

Passing the dataset/snapshot in a `target` argument is pointless. As
none of the existing code attempts to do this plus it is also a
private function (`__` prefix), rename of the argument and removal
of extra text replacement should not be considered a breaking change.

* Changed the `&& \` into `|| return`

* Run `fish_indent`
2023-08-09 17:28:01 +02:00
..
completions add gcc completion lm lz lrt (#9919) 2023-07-29 10:52:23 +08:00
functions Simplify and fix __fish_is_zfs_feature_enabled (#9939) 2023-08-09 17:28:01 +02:00
groff
tools Make default theme use named colors only 2023-07-25 16:42:24 +02:00
__fish_build_paths.fish.in
config.fish share/config.fish: Quit if job expansion hack errors 2023-06-10 15:36:36 +02:00