From 38300a818e44585e7bacea579aab75a49985b83f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20M=C3=BCller?= Date: Thu, 3 Oct 2024 18:25:12 +0200 Subject: [PATCH] completions/portage: Follow symbolic links in repos.conf Repository configuration files in the repos.conf/ directory may also be symbolic links, so make sure to follow those. --- share/functions/__fish_print_portage_repository_paths.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_print_portage_repository_paths.fish b/share/functions/__fish_print_portage_repository_paths.fish index f9370b8a1..dd3c6d020 100644 --- a/share/functions/__fish_print_portage_repository_paths.fish +++ b/share/functions/__fish_print_portage_repository_paths.fish @@ -3,7 +3,7 @@ function __fish_print_portage_repository_paths --description 'Print the paths of set -l b set -l c /usr/share/portage/config/repos.conf test -d $a - and set b (find $a -type f 2>/dev/null) + and set b (path filter -f -- $a/**) test -f $a and set b $a test -n "$b"