mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
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.
This commit is contained in:
parent
cd9e50c2cc
commit
38300a818e
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ function __fish_print_portage_repository_paths --description 'Print the paths of
|
||||||
set -l b
|
set -l b
|
||||||
set -l c /usr/share/portage/config/repos.conf
|
set -l c /usr/share/portage/config/repos.conf
|
||||||
test -d $a
|
test -d $a
|
||||||
and set b (find $a -type f 2>/dev/null)
|
and set b (path filter -f -- $a/**)
|
||||||
test -f $a
|
test -f $a
|
||||||
and set b $a
|
and set b $a
|
||||||
test -n "$b"
|
test -n "$b"
|
||||||
|
|
Loading…
Reference in a new issue