aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Mike Kelly <pioto@pioto.org> 2006-09-24 18:54:34 +0000
committerAvatar Mike Kelly <pioto@pioto.org> 2006-09-24 18:54:34 +0000
commit03dcb2fab15d18f71714c65a1ce871f80a16dcce (patch)
treeec8cd79419a32eea8e3a262e913ec3698e7d4b1e
parent847fb19e4c4f6f3ee74ded495560ea88011e0bb8 (diff)
downloadpaludis-03dcb2fab15d18f71714c65a1ce871f80a16dcce.tar.gz
paludis-03dcb2fab15d18f71714c65a1ce871f80a16dcce.tar.xz
Fix the default template root.
-rw-r--r--bash-completion/paludis15
-rw-r--r--eselect/repo.eselect2
2 files changed, 15 insertions, 2 deletions
diff --git a/bash-completion/paludis b/bash-completion/paludis
index dc33173..971ea54 100644
--- a/bash-completion/paludis
+++ b/bash-completion/paludis
@@ -27,6 +27,7 @@ _paludis() {
--list-repositories \
--list-categories \
--list-packages \
+ --list-sets \
--list-sync-protocols \
--list-repository-formats \
--list-dep-tag-categories \
@@ -54,6 +55,7 @@ _paludis() {
--repository \
--category \
--package \
+ --set \
--full-match"
case "${cur}" in
@@ -63,6 +65,7 @@ _paludis() {
;;
*)
case "${prev}" in
+ ## Enum operators
--log-level)
COMPREPLY=($(compgen -W "debug qa warning silent" -- "${cur}"))
return 0
@@ -71,6 +74,7 @@ _paludis() {
COMPREPLY=($(compgen -W "always never as-needed" -- "${cur}"))
return 0
;;
+ ## list specifiers
--repository)
COMPREPLY=($(compgen -W "`paludis --no-colour --list-repositories --log-level silent |grep \"^*\" |cut -d\" \" -f2-`" -- "${cur}"))
return 0
@@ -83,9 +87,18 @@ _paludis() {
COMPREPLY=($(compgen -W "`paludis --no-colour --list-packages --log-level silent |grep \"^*\" |cut -d\" \" -f2-`" -- "${cur}"))
return 0
;;
+ --set)
+ COMPREPLY=($(compgen -W "`paludis --no-colour --list-sets --log-level silent |grep \"^\\*\" |cut -d\" \" -f2-`" -- "${cur}"))
+ return 0
+ ;;
+ --owner)
+ COMPREPLY=($(compgen -o filenames -- "${cur}"))
+ return 0
+ ;;
*)
# Do package name completion, etc
- COMPREPLY=($(compgen -W "`paludis --no-colour --list-packages --log-level silent |grep \"^*\" |cut -d\" \" -f2-`" -- "${cur}"))
+ # For now, just complete on set names
+ COMPREPLY=($(compgen -W "`paludis --no-colour --list-sets --log-level silent |grep \"^*\" |cut -d\" \" -f2-`" -- "${cur}"))
return 0
;;
esac
diff --git a/eselect/repo.eselect b/eselect/repo.eselect
index 6644e45..75f02ea 100644
--- a/eselect/repo.eselect
+++ b/eselect/repo.eselect
@@ -30,7 +30,7 @@ cat_file() {
}
get_var() {
- default_template_root="http://svn.pioto.org/paludis/repo-templates"
+ default_template_root="http://svn.pioto.org/viewvc/paludis/repo-templates"
default_repo_root="${ROOT}/var/paludis/repositories"
default_config_root="${ROOT}/etc/paludis"
if [[ -L /etc/make.profile ]]; then