From a592d1aa87912939dd3e2524b4b66285b206b893 Mon Sep 17 00:00:00 2001 From: Jguer Date: Fri, 27 Jul 2018 12:16:21 +0100 Subject: [PATCH] Add completions to fish for series 900 Signed-off-by: Jguer --- completions/fish | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/completions/fish b/completions/fish index cdba63e1..e9a84928 100644 --- a/completions/fish +++ b/completions/fish @@ -8,7 +8,7 @@ complete -c $progname -f set -l listinstalled "(pacman -Q | string replace ' ' \t)" # This might be an issue if another package manager is also installed (e.g. for containers) -set -l listall "(yay -Pcf)" +set -l listall "(yay -Pc)" set -l listrepos "(__fish_print_pacman_repos)" set -l listgroups "(pacman -Sg)\t'Package Group'" set -l listpacman "(__fish_print_packages)" @@ -110,17 +110,25 @@ complete -c $progname -n "not $noopt" -l noeditmenu -d 'Do not edit/view PKGBUIL complete -c $progname -n "not $noopt" -l noupgrademenu -d 'Do not show the upgrade menu' -f -complete -c $progname -n "not $noopt" -l provides -d 'Look for matching provders when searching for packages' +complete -c $progname -n "not $noopt" -l provides -d 'Look for matching providers when searching for packages' complete -c $progname -n "not $noopt" -l noprovides -d 'Just look for packages by pkgname' complete -c $progname -n "not $noopt" -l pgpfetch -d 'Prompt to import PGP keys from PKGBUILDs' complete -c $progname -n "not $noopt" -l nopgpfetch -d 'Do not prompt to import PGP keys' # Post V7.887 -complete -c $progname -n "not $noopt" -l useask -d 'Automatically resolce conflicts using pacmans ask flag' +complete -c $progname -n "not $noopt" -l useask -d 'Automatically resolve conflicts using pacmans ask flag' complete -c $progname -n "not $noopt" -l nouseask -d 'Confirm conflicts manually during the install' complete -c $progname -n "not $noopt" -l combinedupgrade -d 'Refresh then perform the repo and AUR upgrade together' complete -c $progname -n "not $noopt" -l nocombinedupgrade -d 'Perform the repo upgrade and AUR upgrade separately' +#Post V8.976 +complete -c $progname -n "not $noopt" -l nomakepkgconf -d 'Use default makepkg.conf' +complete -c $progname -n "not $noopt" -l makepkgconf -d 'Use custom makepkg.conf location' +complete -c $progname -n "not $noopt" -l removemake -d 'Remove make deps after install' +complete -c $progname -n "not $noopt" -l askremovemake -d 'Ask to remove make deps after install' +complete -c $progname -n "not $noopt" -l noremovemake -d 'Do not remove make deps after install' +complete -c $progname -n "not $noopt" -l completioninterval -d 'Refresh interval for completion cache' + # Yay options complete -c $progname -n $yayspecific -s c -l clean -d 'Remove unneeded dependencies' -f complete -c $progname -n $yayspecific -l gendb -d 'Generate development package DB' -f