fish-shell/share/functions/__fish_print_zfs_bookmarks.fish
2017-12-21 16:39:06 +01:00

5 lines
185 B
Fish

function __fish_print_zfs_bookmarks -d "Lists ZFS bookmarks, if the feature is enabled"
if __fish_is_zfs_feature_enabled 'feature@bookmarks'
zfs list -t bookmark -o name -H
end
end