Commit f11a0d52 authored by gregor herrmann's avatar gregor herrmann

dpt zsh completion: for cd and co, complete only directories

Gbp-Dch: Ignore
parent 02d6e331
......@@ -62,7 +62,7 @@ _dpt_commands() {
_dpt_cd() {
_dpt_conf
_arguments \
'*:package name:_files -W ${DPT_PACKAGES:-$HOME}'
'*:package name:_files -W ${DPT_PACKAGES:-$HOME} -/'
}
_dpt_ci-failures() {
......@@ -86,7 +86,7 @@ _dpt_clean-mr-repos() {
_dpt_checkout() {
_dpt_conf
_arguments \
'*:package name:_files -W ${DPT_PACKAGES:-$HOME}'
'*:package name:_files -W ${DPT_PACKAGES:-$HOME} -/'
}
_dpt_dch-note() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment