fish-shell/share/functions/__fish_complete_zfs_pools.fish

4 lines
139 B
Fish
Raw Normal View History

function __fish_complete_zfs_pools -d "Completes with available ZFS pools"
zpool list -o name,comment -H | string replace -a \t'-' ''
end