aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/pacman.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/completions/pacman.fish')
-rw-r--r--share/completions/pacman.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/pacman.fish b/share/completions/pacman.fish
index f96cdcbf..30453cf6 100644
--- a/share/completions/pacman.fish
+++ b/share/completions/pacman.fish
@@ -7,7 +7,7 @@ set -l progname pacman
set -l listinstalled "(pacman -Q | tr ' ' \t)"
# This might be an issue if another package manager is also installed (e.g. for containers)
set -l listall "(__fish_print_packages)"
-set -l listrepos "(grep '^\[.\+\]' /etc/pacman.conf | sed 's/[]\[]//g')"
+set -l listrepos "(__fish_print_pacman_repos)"
set -l listgroups "(pacman -Sg | sed 's/\(.*\)/\1\tPackage group/g')"
set -l noopt 'not __fish_contains_opt -s S -s D -s Q -s R -s U -s T database query sync remove upgrade deptest'