dotfiles/.config/zsh/completion/_moul

4 lines
177 B
Plaintext

#compdef moul
compadd -V unsorted $(lsblk --list --noheadings --output name)
# TODO lsblk --list --noheadings --output name,label,fstype | grep ".\+ [^ ]\+" | sed "s/ [^ ]*$//"