summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--completions/portageq2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/portageq b/completions/portageq
index 7922e59..a8a113b 100644
--- a/completions/portageq
+++ b/completions/portageq
@@ -47,7 +47,7 @@ _portageq() {
# this also isn't the fastest, but I welcome an alternative method
envvar)
- COMPREPLY=($(compgen -W "$(env -i emerge -v --info | \
+ COMPREPLY=($(compgen -W "$(env -i PATH="${PATH}" emerge -v --info | \
sed -n -e '/^[[:upper:]].*=".*"/s/^\(.*\)=".*$/\1/p')" -- ${cur}))
;;