zsh/compdef/_conf
2023-08-21 11:46:14 +02:00

12 lines
201 B
Plaintext

#compdef conf
_conf_locations() {
_alternative \
"configs:Configs:(${(k)conf_locations})" \
"dirs:XDG configs:_files -/ -W ${XDG_CONFIG_HOME:-$HOME/.config}/ -S '' -F '*/*'"
}
_conf_locations