mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 10:57:30 +08:00
completions/portage: Follow symbolic links in repos.conf
Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run
Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run
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
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user