Add uncommitted stuff from flipper

This commit is contained in:
crater2150 2023-08-21 11:46:14 +02:00
parent 0937e73ed9
commit cc847b5c32
6 changed files with 83 additions and 3 deletions

View file

@ -1,3 +1,11 @@
#compdef conf
_arguments "1:Commands:(${(k)conf_locations})"
_conf_locations() {
_alternative \
"configs:Configs:(${(k)conf_locations})" \
"dirs:XDG configs:_files -/ -W ${XDG_CONFIG_HOME:-$HOME/.config}/ -S '' -F '*/*'"
}
_conf_locations

View file

@ -1,5 +1,4 @@
#compdef _scala-cli scala-cli
typeset -A opt_args
function _scala-cli {
eval "$(scala-cli complete zsh-v1 $CURRENT $words[@])"