aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-12-20 14:27:43 -0800
committerTim Harder <radhermit@gentoo.org>2014-12-20 14:27:43 -0800
commitfabda847f4690cac36728ec8372f4fe82a8ba9f1 (patch)
tree5fcd8d9aae3aa5e31b53afb78da2629feb577def /src/_portage_utils
parent_gentoo_repos: use more apt variable names (diff)
downloadzsh-completion-fabda847f4690cac36728ec8372f4fe82a8ba9f1.tar.gz
zsh-completion-fabda847f4690cac36728ec8372f4fe82a8ba9f1.tar.bz2
zsh-completion-fabda847f4690cac36728ec8372f4fe82a8ba9f1.zip
_gentoo_repos: drop duplicated output functionality
Also, calling _gentoo_repos with no arguments returns all configured repos instead of just the main repo. To get the path for the main repo use `_gentoo_repos -m`.
Diffstat (limited to 'src/_portage_utils')
-rw-r--r--src/_portage_utils2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_portage_utils b/src/_portage_utils
index acff1a6..7fdb828 100644
--- a/src/_portage_utils
+++ b/src/_portage_utils
@@ -4,7 +4,7 @@
local common_args PORTDIR
-PORTDIR="$(_gentoo_repos)"
+PORTDIR="$(_gentoo_repos -m)"
common_args=(
'--root[Set the ROOT env var]:root directory:_files -/' \