aboutsummaryrefslogtreecommitdiff
path: root/bash-completion/paludis
diff options
context:
space:
mode:
authorAvatar Mike Kelly <pioto@pioto.org> 2006-12-24 20:30:09 +0000
committerAvatar Mike Kelly <pioto@pioto.org> 2006-12-24 20:30:09 +0000
commit300f516f45c43720caf82aad1a081f0ab559d590 (patch)
tree9bd20fedd9996a6a8841d4a9c9b762ea1b9ee37b /bash-completion/paludis
parent3cf5182bc49324637d6581ebdc20aec78bd7a8b7 (diff)
downloadpaludis-300f516f45c43720caf82aad1a081f0ab559d590.tar.gz
paludis-300f516f45c43720caf82aad1a081f0ab559d590.tar.xz
Use _filedir (from the main bash-completion package) for filename / dirname completion. This means files with spaces in their names, for example, will work right.
Diffstat (limited to 'bash-completion/paludis')
-rw-r--r--bash-completion/paludis6
1 files changed, 3 insertions, 3 deletions
diff --git a/bash-completion/paludis b/bash-completion/paludis
index 1466449eb..1e2d37ef1 100644
--- a/bash-completion/paludis
+++ b/bash-completion/paludis
@@ -230,7 +230,7 @@ _paludis() {
return 0
;;
--owner|-o)
- COMPREPLY=($(compgen -f -- "${cur}"))
+ _filedir
return 0
;;
#=*|>*|>*|~*)
@@ -246,7 +246,7 @@ _paludis() {
return 0
;;
owner)
- COMPREPLY=($(compgen -f -- "${cur}"))
+ _filedir
return 0
;;
conf_variable_query)
@@ -281,8 +281,8 @@ _paludis() {
$(compgen -W "$(_paludis_dolist sets)" -- "${cur}")
$(compgen -W "$(_paludis_dolist categories)" -- "${cur}")
$(compgen -W "$(_paludis_packagenames)" -- "${cur}")
- $(compgen -f -- "${cur}")
)
+ _filedir
return 0
;;
esac