chore: remove completions files and add them to the gitignore

This commit is contained in:
2025-05-01 20:41:46 +02:00
parent 4bbb3a896f
commit a766d06908
4 changed files with 9 additions and 1490 deletions

10
.gitignore vendored
View File

@@ -1 +1,9 @@
/target *.env
*.csv
*.xml
# Added by cargo
target
.idea
completions.*

View File

@@ -1,793 +0,0 @@
_feddy() {
local i cur prev opts cmd
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
cmd=""
opts=""
for i in ${COMP_WORDS[@]}
do
case "${cmd},${i}" in
",$1")
cmd="feddy"
;;
feddy,add-repo)
cmd="feddy__add__repo"
;;
feddy,add-user-to-groups)
cmd="feddy__add__user__to__groups"
;;
feddy,configure-dnf)
cmd="feddy__configure__dnf"
;;
feddy,help)
cmd="feddy__help"
;;
feddy,install-rpm-fusion)
cmd="feddy__install__rpm__fusion"
;;
feddy,package)
cmd="feddy__package"
;;
feddy__add__repo,help)
cmd="feddy__add__repo__help"
;;
feddy__add__repo,mullvad)
cmd="feddy__add__repo__mullvad"
;;
feddy__add__repo,vivaldi)
cmd="feddy__add__repo__vivaldi"
;;
feddy__add__repo,vscode)
cmd="feddy__add__repo__vscode"
;;
feddy__add__repo__help,help)
cmd="feddy__add__repo__help__help"
;;
feddy__add__repo__help,mullvad)
cmd="feddy__add__repo__help__mullvad"
;;
feddy__add__repo__help,vivaldi)
cmd="feddy__add__repo__help__vivaldi"
;;
feddy__add__repo__help,vscode)
cmd="feddy__add__repo__help__vscode"
;;
feddy__help,add-repo)
cmd="feddy__help__add__repo"
;;
feddy__help,add-user-to-groups)
cmd="feddy__help__add__user__to__groups"
;;
feddy__help,configure-dnf)
cmd="feddy__help__configure__dnf"
;;
feddy__help,help)
cmd="feddy__help__help"
;;
feddy__help,install-rpm-fusion)
cmd="feddy__help__install__rpm__fusion"
;;
feddy__help,package)
cmd="feddy__help__package"
;;
feddy__help__add__repo,mullvad)
cmd="feddy__help__add__repo__mullvad"
;;
feddy__help__add__repo,vivaldi)
cmd="feddy__help__add__repo__vivaldi"
;;
feddy__help__add__repo,vscode)
cmd="feddy__help__add__repo__vscode"
;;
feddy__help__package,amd-list)
cmd="feddy__help__package__amd__list"
;;
feddy__help__package,common-list)
cmd="feddy__help__package__common__list"
;;
feddy__help__package,custom-list)
cmd="feddy__help__package__custom__list"
;;
feddy__help__package,firmware-list)
cmd="feddy__help__package__firmware__list"
;;
feddy__help__package,gnome-extra-list)
cmd="feddy__help__package__gnome__extra__list"
;;
feddy__help__package,intel-list)
cmd="feddy__help__package__intel__list"
;;
feddy__package,amd-list)
cmd="feddy__package__amd__list"
;;
feddy__package,common-list)
cmd="feddy__package__common__list"
;;
feddy__package,custom-list)
cmd="feddy__package__custom__list"
;;
feddy__package,firmware-list)
cmd="feddy__package__firmware__list"
;;
feddy__package,gnome-extra-list)
cmd="feddy__package__gnome__extra__list"
;;
feddy__package,help)
cmd="feddy__package__help"
;;
feddy__package,intel-list)
cmd="feddy__package__intel__list"
;;
feddy__package__help,amd-list)
cmd="feddy__package__help__amd__list"
;;
feddy__package__help,common-list)
cmd="feddy__package__help__common__list"
;;
feddy__package__help,custom-list)
cmd="feddy__package__help__custom__list"
;;
feddy__package__help,firmware-list)
cmd="feddy__package__help__firmware__list"
;;
feddy__package__help,gnome-extra-list)
cmd="feddy__package__help__gnome__extra__list"
;;
feddy__package__help,help)
cmd="feddy__package__help__help"
;;
feddy__package__help,intel-list)
cmd="feddy__package__help__intel__list"
;;
*)
;;
esac
done
case "${cmd}" in
feddy)
opts="-h -V --generate --help --version configure-dnf add-repo install-rpm-fusion add-user-to-groups package help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--generate)
COMPREPLY=($(compgen -W "bash elvish fish powershell zsh" -- "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__add__repo)
opts="-h --help vscode mullvad vivaldi help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__add__repo__help)
opts="vscode mullvad vivaldi help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__add__repo__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__add__repo__help__mullvad)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__add__repo__help__vivaldi)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__add__repo__help__vscode)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__add__repo__mullvad)
opts="-h --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__add__repo__vivaldi)
opts="-h --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__add__repo__vscode)
opts="-h --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__add__user__to__groups)
opts="-u -h --user --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--user)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-u)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__configure__dnf)
opts="-h --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help)
opts="configure-dnf add-repo install-rpm-fusion add-user-to-groups package help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__add__repo)
opts="vscode mullvad vivaldi"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__add__repo__mullvad)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__add__repo__vivaldi)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__add__repo__vscode)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__add__user__to__groups)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__configure__dnf)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__install__rpm__fusion)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__package)
opts="common-list amd-list intel-list gnome-extra-list firmware-list custom-list"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__package__amd__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__package__common__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__package__custom__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__package__firmware__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__package__gnome__extra__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__help__package__intel__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__install__rpm__fusion)
opts="-h --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package)
opts="-r -h --remove --help common-list amd-list intel-list gnome-extra-list firmware-list custom-list help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package__amd__list)
opts="-h --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package__common__list)
opts="-h --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package__custom__list)
opts="-f -h --file --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--file)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-f)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package__firmware__list)
opts="-h --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package__gnome__extra__list)
opts="-h --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package__help)
opts="common-list amd-list intel-list gnome-extra-list firmware-list custom-list help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package__help__amd__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package__help__common__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package__help__custom__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package__help__firmware__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package__help__gnome__extra__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package__help__intel__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
feddy__package__intel__list)
opts="-h --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
esac
}
if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then
complete -F _feddy -o nosort -o bashdefault -o default feddy
else
complete -F _feddy -o bashdefault -o default feddy
fi

View File

@@ -1,93 +0,0 @@
# Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
function __fish_feddy_global_optspecs
string join \n generate= h/help V/version
end
function __fish_feddy_needs_command
# Figure out if the current invocation already has a command.
set -l cmd (commandline -opc)
set -e cmd[1]
argparse -s (__fish_feddy_global_optspecs) -- $cmd 2>/dev/null
or return
if set -q argv[1]
# Also print the command, so this can be used to figure out what it is.
echo $argv[1]
return 1
end
return 0
end
function __fish_feddy_using_subcommand
set -l cmd (__fish_feddy_needs_command)
test -z "$cmd"
and return 1
contains -- $cmd[1] $argv
end
complete -c feddy -n "__fish_feddy_needs_command" -l generate -r -f -a "bash\t''
elvish\t''
fish\t''
powershell\t''
zsh\t''"
complete -c feddy -n "__fish_feddy_needs_command" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_needs_command" -s V -l version -d 'Print version'
complete -c feddy -n "__fish_feddy_needs_command" -f -a "configure-dnf" -d 'Configure dnf'
complete -c feddy -n "__fish_feddy_needs_command" -f -a "add-repo" -d 'Add a repository'
complete -c feddy -n "__fish_feddy_needs_command" -f -a "install-rpm-fusion" -d 'Install RPM fusion'
complete -c feddy -n "__fish_feddy_needs_command" -f -a "add-user-to-groups" -d 'Add user to groups'
complete -c feddy -n "__fish_feddy_needs_command" -f -a "package" -d 'Manage packages'
complete -c feddy -n "__fish_feddy_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c feddy -n "__fish_feddy_using_subcommand configure-dnf" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_using_subcommand add-repo; and not __fish_seen_subcommand_from vscode mullvad vivaldi help" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_using_subcommand add-repo; and not __fish_seen_subcommand_from vscode mullvad vivaldi help" -f -a "vscode" -d 'Add VSCode repository'
complete -c feddy -n "__fish_feddy_using_subcommand add-repo; and not __fish_seen_subcommand_from vscode mullvad vivaldi help" -f -a "mullvad" -d 'Add Mullvad repository'
complete -c feddy -n "__fish_feddy_using_subcommand add-repo; and not __fish_seen_subcommand_from vscode mullvad vivaldi help" -f -a "vivaldi" -d 'Add Vivaldi repository'
complete -c feddy -n "__fish_feddy_using_subcommand add-repo; and not __fish_seen_subcommand_from vscode mullvad vivaldi help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c feddy -n "__fish_feddy_using_subcommand add-repo; and __fish_seen_subcommand_from vscode" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_using_subcommand add-repo; and __fish_seen_subcommand_from mullvad" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_using_subcommand add-repo; and __fish_seen_subcommand_from vivaldi" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_using_subcommand add-repo; and __fish_seen_subcommand_from help" -f -a "vscode" -d 'Add VSCode repository'
complete -c feddy -n "__fish_feddy_using_subcommand add-repo; and __fish_seen_subcommand_from help" -f -a "mullvad" -d 'Add Mullvad repository'
complete -c feddy -n "__fish_feddy_using_subcommand add-repo; and __fish_seen_subcommand_from help" -f -a "vivaldi" -d 'Add Vivaldi repository'
complete -c feddy -n "__fish_feddy_using_subcommand add-repo; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c feddy -n "__fish_feddy_using_subcommand install-rpm-fusion" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_using_subcommand add-user-to-groups" -s u -l user -r
complete -c feddy -n "__fish_feddy_using_subcommand add-user-to-groups" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_using_subcommand package; and not __fish_seen_subcommand_from common-list amd-list intel-list gnome-extra-list firmware-list custom-list help" -s r -l remove
complete -c feddy -n "__fish_feddy_using_subcommand package; and not __fish_seen_subcommand_from common-list amd-list intel-list gnome-extra-list firmware-list custom-list help" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_using_subcommand package; and not __fish_seen_subcommand_from common-list amd-list intel-list gnome-extra-list firmware-list custom-list help" -f -a "common-list" -d 'Install/Remove the common list'
complete -c feddy -n "__fish_feddy_using_subcommand package; and not __fish_seen_subcommand_from common-list amd-list intel-list gnome-extra-list firmware-list custom-list help" -f -a "amd-list" -d 'Install/Remove the AMD list'
complete -c feddy -n "__fish_feddy_using_subcommand package; and not __fish_seen_subcommand_from common-list amd-list intel-list gnome-extra-list firmware-list custom-list help" -f -a "intel-list" -d 'Install/Remove the Intel list'
complete -c feddy -n "__fish_feddy_using_subcommand package; and not __fish_seen_subcommand_from common-list amd-list intel-list gnome-extra-list firmware-list custom-list help" -f -a "gnome-extra-list" -d 'Install/Remove the Gnome extra list'
complete -c feddy -n "__fish_feddy_using_subcommand package; and not __fish_seen_subcommand_from common-list amd-list intel-list gnome-extra-list firmware-list custom-list help" -f -a "firmware-list" -d 'Install/Remove the firmware list'
complete -c feddy -n "__fish_feddy_using_subcommand package; and not __fish_seen_subcommand_from common-list amd-list intel-list gnome-extra-list firmware-list custom-list help" -f -a "custom-list" -d 'Install/Remove a custom list'
complete -c feddy -n "__fish_feddy_using_subcommand package; and not __fish_seen_subcommand_from common-list amd-list intel-list gnome-extra-list firmware-list custom-list help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c feddy -n "__fish_feddy_using_subcommand package; and __fish_seen_subcommand_from common-list" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_using_subcommand package; and __fish_seen_subcommand_from amd-list" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_using_subcommand package; and __fish_seen_subcommand_from intel-list" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_using_subcommand package; and __fish_seen_subcommand_from gnome-extra-list" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_using_subcommand package; and __fish_seen_subcommand_from firmware-list" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_using_subcommand package; and __fish_seen_subcommand_from custom-list" -s f -l file -r
complete -c feddy -n "__fish_feddy_using_subcommand package; and __fish_seen_subcommand_from custom-list" -s h -l help -d 'Print help'
complete -c feddy -n "__fish_feddy_using_subcommand package; and __fish_seen_subcommand_from help" -f -a "common-list" -d 'Install/Remove the common list'
complete -c feddy -n "__fish_feddy_using_subcommand package; and __fish_seen_subcommand_from help" -f -a "amd-list" -d 'Install/Remove the AMD list'
complete -c feddy -n "__fish_feddy_using_subcommand package; and __fish_seen_subcommand_from help" -f -a "intel-list" -d 'Install/Remove the Intel list'
complete -c feddy -n "__fish_feddy_using_subcommand package; and __fish_seen_subcommand_from help" -f -a "gnome-extra-list" -d 'Install/Remove the Gnome extra list'
complete -c feddy -n "__fish_feddy_using_subcommand package; and __fish_seen_subcommand_from help" -f -a "firmware-list" -d 'Install/Remove the firmware list'
complete -c feddy -n "__fish_feddy_using_subcommand package; and __fish_seen_subcommand_from help" -f -a "custom-list" -d 'Install/Remove a custom list'
complete -c feddy -n "__fish_feddy_using_subcommand package; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c feddy -n "__fish_feddy_using_subcommand help; and not __fish_seen_subcommand_from configure-dnf add-repo install-rpm-fusion add-user-to-groups package help" -f -a "configure-dnf" -d 'Configure dnf'
complete -c feddy -n "__fish_feddy_using_subcommand help; and not __fish_seen_subcommand_from configure-dnf add-repo install-rpm-fusion add-user-to-groups package help" -f -a "add-repo" -d 'Add a repository'
complete -c feddy -n "__fish_feddy_using_subcommand help; and not __fish_seen_subcommand_from configure-dnf add-repo install-rpm-fusion add-user-to-groups package help" -f -a "install-rpm-fusion" -d 'Install RPM fusion'
complete -c feddy -n "__fish_feddy_using_subcommand help; and not __fish_seen_subcommand_from configure-dnf add-repo install-rpm-fusion add-user-to-groups package help" -f -a "add-user-to-groups" -d 'Add user to groups'
complete -c feddy -n "__fish_feddy_using_subcommand help; and not __fish_seen_subcommand_from configure-dnf add-repo install-rpm-fusion add-user-to-groups package help" -f -a "package" -d 'Manage packages'
complete -c feddy -n "__fish_feddy_using_subcommand help; and not __fish_seen_subcommand_from configure-dnf add-repo install-rpm-fusion add-user-to-groups package help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c feddy -n "__fish_feddy_using_subcommand help; and __fish_seen_subcommand_from add-repo" -f -a "vscode" -d 'Add VSCode repository'
complete -c feddy -n "__fish_feddy_using_subcommand help; and __fish_seen_subcommand_from add-repo" -f -a "mullvad" -d 'Add Mullvad repository'
complete -c feddy -n "__fish_feddy_using_subcommand help; and __fish_seen_subcommand_from add-repo" -f -a "vivaldi" -d 'Add Vivaldi repository'
complete -c feddy -n "__fish_feddy_using_subcommand help; and __fish_seen_subcommand_from package" -f -a "common-list" -d 'Install/Remove the common list'
complete -c feddy -n "__fish_feddy_using_subcommand help; and __fish_seen_subcommand_from package" -f -a "amd-list" -d 'Install/Remove the AMD list'
complete -c feddy -n "__fish_feddy_using_subcommand help; and __fish_seen_subcommand_from package" -f -a "intel-list" -d 'Install/Remove the Intel list'
complete -c feddy -n "__fish_feddy_using_subcommand help; and __fish_seen_subcommand_from package" -f -a "gnome-extra-list" -d 'Install/Remove the Gnome extra list'
complete -c feddy -n "__fish_feddy_using_subcommand help; and __fish_seen_subcommand_from package" -f -a "firmware-list" -d 'Install/Remove the firmware list'
complete -c feddy -n "__fish_feddy_using_subcommand help; and __fish_seen_subcommand_from package" -f -a "custom-list" -d 'Install/Remove a custom list'

View File

@@ -1,603 +0,0 @@
#compdef feddy
autoload -U is-at-least
_feddy() {
typeset -A opt_args
typeset -a _arguments_options
local ret=1
if is-at-least 5.2; then
_arguments_options=(-s -S -C)
else
_arguments_options=(-s -C)
fi
local context curcontext="$curcontext" state line
_arguments "${_arguments_options[@]}" : \
'--generate=[]:GENERATOR:(bash elvish fish powershell zsh)' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_feddy_commands" \
"*::: :->feddy" \
&& ret=0
case $state in
(feddy)
words=($line[1] "${words[@]}")
(( CURRENT += 1 ))
curcontext="${curcontext%:*:*}:feddy-command-$line[1]:"
case $line[1] in
(configure-dnf)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(add-repo)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_feddy__add-repo_commands" \
"*::: :->add-repo" \
&& ret=0
case $state in
(add-repo)
words=($line[1] "${words[@]}")
(( CURRENT += 1 ))
curcontext="${curcontext%:*:*}:feddy-add-repo-command-$line[1]:"
case $line[1] in
(vscode)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(mullvad)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(vivaldi)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_feddy__add-repo__help_commands" \
"*::: :->help" \
&& ret=0
case $state in
(help)
words=($line[1] "${words[@]}")
(( CURRENT += 1 ))
curcontext="${curcontext%:*:*}:feddy-add-repo-help-command-$line[1]:"
case $line[1] in
(vscode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(mullvad)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(vivaldi)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
esac
;;
esac
;;
esac
;;
esac
;;
(install-rpm-fusion)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(add-user-to-groups)
_arguments "${_arguments_options[@]}" : \
'-u+[]:USER:_default' \
'--user=[]:USER:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(package)
_arguments "${_arguments_options[@]}" : \
'-r[]' \
'--remove[]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_feddy__package_commands" \
"*::: :->package" \
&& ret=0
case $state in
(package)
words=($line[1] "${words[@]}")
(( CURRENT += 1 ))
curcontext="${curcontext%:*:*}:feddy-package-command-$line[1]:"
case $line[1] in
(common-list)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(amd-list)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(intel-list)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(gnome-extra-list)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(firmware-list)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(custom-list)
_arguments "${_arguments_options[@]}" : \
'-f+[]:FILE:_default' \
'--file=[]:FILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_feddy__package__help_commands" \
"*::: :->help" \
&& ret=0
case $state in
(help)
words=($line[1] "${words[@]}")
(( CURRENT += 1 ))
curcontext="${curcontext%:*:*}:feddy-package-help-command-$line[1]:"
case $line[1] in
(common-list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(amd-list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(intel-list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(gnome-extra-list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(firmware-list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(custom-list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
esac
;;
esac
;;
esac
;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_feddy__help_commands" \
"*::: :->help" \
&& ret=0
case $state in
(help)
words=($line[1] "${words[@]}")
(( CURRENT += 1 ))
curcontext="${curcontext%:*:*}:feddy-help-command-$line[1]:"
case $line[1] in
(configure-dnf)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(add-repo)
_arguments "${_arguments_options[@]}" : \
":: :_feddy__help__add-repo_commands" \
"*::: :->add-repo" \
&& ret=0
case $state in
(add-repo)
words=($line[1] "${words[@]}")
(( CURRENT += 1 ))
curcontext="${curcontext%:*:*}:feddy-help-add-repo-command-$line[1]:"
case $line[1] in
(vscode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(mullvad)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(vivaldi)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
esac
;;
esac
;;
(install-rpm-fusion)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(add-user-to-groups)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(package)
_arguments "${_arguments_options[@]}" : \
":: :_feddy__help__package_commands" \
"*::: :->package" \
&& ret=0
case $state in
(package)
words=($line[1] "${words[@]}")
(( CURRENT += 1 ))
curcontext="${curcontext%:*:*}:feddy-help-package-command-$line[1]:"
case $line[1] in
(common-list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(amd-list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(intel-list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(gnome-extra-list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(firmware-list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(custom-list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
esac
;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
esac
;;
esac
;;
esac
;;
esac
}
(( $+functions[_feddy_commands] )) ||
_feddy_commands() {
local commands; commands=(
'configure-dnf:Configure dnf' \
'add-repo:Add a repository' \
'install-rpm-fusion:Install RPM fusion' \
'add-user-to-groups:Add user to groups' \
'package:Manage packages' \
'help:Print this message or the help of the given subcommand(s)' \
)
_describe -t commands 'feddy commands' commands "$@"
}
(( $+functions[_feddy__add-repo_commands] )) ||
_feddy__add-repo_commands() {
local commands; commands=(
'vscode:Add VSCode repository' \
'mullvad:Add Mullvad repository' \
'vivaldi:Add Vivaldi repository' \
'help:Print this message or the help of the given subcommand(s)' \
)
_describe -t commands 'feddy add-repo commands' commands "$@"
}
(( $+functions[_feddy__add-repo__help_commands] )) ||
_feddy__add-repo__help_commands() {
local commands; commands=(
'vscode:Add VSCode repository' \
'mullvad:Add Mullvad repository' \
'vivaldi:Add Vivaldi repository' \
'help:Print this message or the help of the given subcommand(s)' \
)
_describe -t commands 'feddy add-repo help commands' commands "$@"
}
(( $+functions[_feddy__add-repo__help__help_commands] )) ||
_feddy__add-repo__help__help_commands() {
local commands; commands=()
_describe -t commands 'feddy add-repo help help commands' commands "$@"
}
(( $+functions[_feddy__add-repo__help__mullvad_commands] )) ||
_feddy__add-repo__help__mullvad_commands() {
local commands; commands=()
_describe -t commands 'feddy add-repo help mullvad commands' commands "$@"
}
(( $+functions[_feddy__add-repo__help__vivaldi_commands] )) ||
_feddy__add-repo__help__vivaldi_commands() {
local commands; commands=()
_describe -t commands 'feddy add-repo help vivaldi commands' commands "$@"
}
(( $+functions[_feddy__add-repo__help__vscode_commands] )) ||
_feddy__add-repo__help__vscode_commands() {
local commands; commands=()
_describe -t commands 'feddy add-repo help vscode commands' commands "$@"
}
(( $+functions[_feddy__add-repo__mullvad_commands] )) ||
_feddy__add-repo__mullvad_commands() {
local commands; commands=()
_describe -t commands 'feddy add-repo mullvad commands' commands "$@"
}
(( $+functions[_feddy__add-repo__vivaldi_commands] )) ||
_feddy__add-repo__vivaldi_commands() {
local commands; commands=()
_describe -t commands 'feddy add-repo vivaldi commands' commands "$@"
}
(( $+functions[_feddy__add-repo__vscode_commands] )) ||
_feddy__add-repo__vscode_commands() {
local commands; commands=()
_describe -t commands 'feddy add-repo vscode commands' commands "$@"
}
(( $+functions[_feddy__add-user-to-groups_commands] )) ||
_feddy__add-user-to-groups_commands() {
local commands; commands=()
_describe -t commands 'feddy add-user-to-groups commands' commands "$@"
}
(( $+functions[_feddy__configure-dnf_commands] )) ||
_feddy__configure-dnf_commands() {
local commands; commands=()
_describe -t commands 'feddy configure-dnf commands' commands "$@"
}
(( $+functions[_feddy__help_commands] )) ||
_feddy__help_commands() {
local commands; commands=(
'configure-dnf:Configure dnf' \
'add-repo:Add a repository' \
'install-rpm-fusion:Install RPM fusion' \
'add-user-to-groups:Add user to groups' \
'package:Manage packages' \
'help:Print this message or the help of the given subcommand(s)' \
)
_describe -t commands 'feddy help commands' commands "$@"
}
(( $+functions[_feddy__help__add-repo_commands] )) ||
_feddy__help__add-repo_commands() {
local commands; commands=(
'vscode:Add VSCode repository' \
'mullvad:Add Mullvad repository' \
'vivaldi:Add Vivaldi repository' \
)
_describe -t commands 'feddy help add-repo commands' commands "$@"
}
(( $+functions[_feddy__help__add-repo__mullvad_commands] )) ||
_feddy__help__add-repo__mullvad_commands() {
local commands; commands=()
_describe -t commands 'feddy help add-repo mullvad commands' commands "$@"
}
(( $+functions[_feddy__help__add-repo__vivaldi_commands] )) ||
_feddy__help__add-repo__vivaldi_commands() {
local commands; commands=()
_describe -t commands 'feddy help add-repo vivaldi commands' commands "$@"
}
(( $+functions[_feddy__help__add-repo__vscode_commands] )) ||
_feddy__help__add-repo__vscode_commands() {
local commands; commands=()
_describe -t commands 'feddy help add-repo vscode commands' commands "$@"
}
(( $+functions[_feddy__help__add-user-to-groups_commands] )) ||
_feddy__help__add-user-to-groups_commands() {
local commands; commands=()
_describe -t commands 'feddy help add-user-to-groups commands' commands "$@"
}
(( $+functions[_feddy__help__configure-dnf_commands] )) ||
_feddy__help__configure-dnf_commands() {
local commands; commands=()
_describe -t commands 'feddy help configure-dnf commands' commands "$@"
}
(( $+functions[_feddy__help__help_commands] )) ||
_feddy__help__help_commands() {
local commands; commands=()
_describe -t commands 'feddy help help commands' commands "$@"
}
(( $+functions[_feddy__help__install-rpm-fusion_commands] )) ||
_feddy__help__install-rpm-fusion_commands() {
local commands; commands=()
_describe -t commands 'feddy help install-rpm-fusion commands' commands "$@"
}
(( $+functions[_feddy__help__package_commands] )) ||
_feddy__help__package_commands() {
local commands; commands=(
'common-list:Install/Remove the common list' \
'amd-list:Install/Remove the AMD list' \
'intel-list:Install/Remove the Intel list' \
'gnome-extra-list:Install/Remove the Gnome extra list' \
'firmware-list:Install/Remove the firmware list' \
'custom-list:Install/Remove a custom list' \
)
_describe -t commands 'feddy help package commands' commands "$@"
}
(( $+functions[_feddy__help__package__amd-list_commands] )) ||
_feddy__help__package__amd-list_commands() {
local commands; commands=()
_describe -t commands 'feddy help package amd-list commands' commands "$@"
}
(( $+functions[_feddy__help__package__common-list_commands] )) ||
_feddy__help__package__common-list_commands() {
local commands; commands=()
_describe -t commands 'feddy help package common-list commands' commands "$@"
}
(( $+functions[_feddy__help__package__custom-list_commands] )) ||
_feddy__help__package__custom-list_commands() {
local commands; commands=()
_describe -t commands 'feddy help package custom-list commands' commands "$@"
}
(( $+functions[_feddy__help__package__firmware-list_commands] )) ||
_feddy__help__package__firmware-list_commands() {
local commands; commands=()
_describe -t commands 'feddy help package firmware-list commands' commands "$@"
}
(( $+functions[_feddy__help__package__gnome-extra-list_commands] )) ||
_feddy__help__package__gnome-extra-list_commands() {
local commands; commands=()
_describe -t commands 'feddy help package gnome-extra-list commands' commands "$@"
}
(( $+functions[_feddy__help__package__intel-list_commands] )) ||
_feddy__help__package__intel-list_commands() {
local commands; commands=()
_describe -t commands 'feddy help package intel-list commands' commands "$@"
}
(( $+functions[_feddy__install-rpm-fusion_commands] )) ||
_feddy__install-rpm-fusion_commands() {
local commands; commands=()
_describe -t commands 'feddy install-rpm-fusion commands' commands "$@"
}
(( $+functions[_feddy__package_commands] )) ||
_feddy__package_commands() {
local commands; commands=(
'common-list:Install/Remove the common list' \
'amd-list:Install/Remove the AMD list' \
'intel-list:Install/Remove the Intel list' \
'gnome-extra-list:Install/Remove the Gnome extra list' \
'firmware-list:Install/Remove the firmware list' \
'custom-list:Install/Remove a custom list' \
'help:Print this message or the help of the given subcommand(s)' \
)
_describe -t commands 'feddy package commands' commands "$@"
}
(( $+functions[_feddy__package__amd-list_commands] )) ||
_feddy__package__amd-list_commands() {
local commands; commands=()
_describe -t commands 'feddy package amd-list commands' commands "$@"
}
(( $+functions[_feddy__package__common-list_commands] )) ||
_feddy__package__common-list_commands() {
local commands; commands=()
_describe -t commands 'feddy package common-list commands' commands "$@"
}
(( $+functions[_feddy__package__custom-list_commands] )) ||
_feddy__package__custom-list_commands() {
local commands; commands=()
_describe -t commands 'feddy package custom-list commands' commands "$@"
}
(( $+functions[_feddy__package__firmware-list_commands] )) ||
_feddy__package__firmware-list_commands() {
local commands; commands=()
_describe -t commands 'feddy package firmware-list commands' commands "$@"
}
(( $+functions[_feddy__package__gnome-extra-list_commands] )) ||
_feddy__package__gnome-extra-list_commands() {
local commands; commands=()
_describe -t commands 'feddy package gnome-extra-list commands' commands "$@"
}
(( $+functions[_feddy__package__help_commands] )) ||
_feddy__package__help_commands() {
local commands; commands=(
'common-list:Install/Remove the common list' \
'amd-list:Install/Remove the AMD list' \
'intel-list:Install/Remove the Intel list' \
'gnome-extra-list:Install/Remove the Gnome extra list' \
'firmware-list:Install/Remove the firmware list' \
'custom-list:Install/Remove a custom list' \
'help:Print this message or the help of the given subcommand(s)' \
)
_describe -t commands 'feddy package help commands' commands "$@"
}
(( $+functions[_feddy__package__help__amd-list_commands] )) ||
_feddy__package__help__amd-list_commands() {
local commands; commands=()
_describe -t commands 'feddy package help amd-list commands' commands "$@"
}
(( $+functions[_feddy__package__help__common-list_commands] )) ||
_feddy__package__help__common-list_commands() {
local commands; commands=()
_describe -t commands 'feddy package help common-list commands' commands "$@"
}
(( $+functions[_feddy__package__help__custom-list_commands] )) ||
_feddy__package__help__custom-list_commands() {
local commands; commands=()
_describe -t commands 'feddy package help custom-list commands' commands "$@"
}
(( $+functions[_feddy__package__help__firmware-list_commands] )) ||
_feddy__package__help__firmware-list_commands() {
local commands; commands=()
_describe -t commands 'feddy package help firmware-list commands' commands "$@"
}
(( $+functions[_feddy__package__help__gnome-extra-list_commands] )) ||
_feddy__package__help__gnome-extra-list_commands() {
local commands; commands=()
_describe -t commands 'feddy package help gnome-extra-list commands' commands "$@"
}
(( $+functions[_feddy__package__help__help_commands] )) ||
_feddy__package__help__help_commands() {
local commands; commands=()
_describe -t commands 'feddy package help help commands' commands "$@"
}
(( $+functions[_feddy__package__help__intel-list_commands] )) ||
_feddy__package__help__intel-list_commands() {
local commands; commands=()
_describe -t commands 'feddy package help intel-list commands' commands "$@"
}
(( $+functions[_feddy__package__intel-list_commands] )) ||
_feddy__package__intel-list_commands() {
local commands; commands=()
_describe -t commands 'feddy package intel-list commands' commands "$@"
}
if [ "$funcstack[1]" = "_feddy" ]; then
_feddy "$@"
else
compdef _feddy feddy
fi