fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
a53db7256
master
1# localization: skip(private) 2function __fish_is_zfs_feature_enabled \ 3 -a feature pool\ 4 -d"Returns 0 if the given ZFS pool feature is active or enabled for the given pool or for any pool if none specified" 5 6type -q zpool|| return 7zpool get -H -o value$feature $pool 2> /dev/null| string match -rq'^(enabled|active)$' 8end