aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-09-22 16:38:58 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-09-22 16:58:08 -0700
commitecefe45f8e40b3e40337e7375c2c2c391a98e85e (patch)
tree7c900fef8ca1fd0666fe24c6547fcacf7e5fe538
parent670bc63fda48293beb32224ec160a7a9dfdaa803 (diff)
downloadmeson-ecefe45f8e40b3e40337e7375c2c2c391a98e85e.zip
meson-ecefe45f8e40b3e40337e7375c2c2c391a98e85e.tar.gz
meson-ecefe45f8e40b3e40337e7375c2c2c391a98e85e.tar.bz2
zsh: Add ability to complete depedency paths
using , separated syntax
-rw-r--r--data/shell-completions/zsh/_meson8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/shell-completions/zsh/_meson b/data/shell-completions/zsh/_meson
index aec1847..3a92f27 100644
--- a/data/shell-completions/zsh/_meson
+++ b/data/shell-completions/zsh/_meson
@@ -62,10 +62,10 @@ local -a __meson_common=(
'--werror[treat warnings as errors]'
'--wrap-mode=[special wrap mode]:wrap mode:'"$__meson_wrap_modes"
'--force-fallback-for=[force fallback for listed subprojects]'
- '--pkg-config-path=[extra paths for HOST pkg-config to search]:paths:_files -/'
- '--build.pkg-config-path=[extra paths for BUILD pkg-config to search]:paths:_files -/'
- '--cmake-prefix-path=[extra prefixes for HOST cmake to search]:paths:_files -/'
- '--build.cmake-prefix-path=[extra prefix for BUILD cmake to search]:paths:_files -/'
+ '--pkg-config-path=[extra paths for HOST pkg-config to search]:paths:_dir_list -s ,'
+ '--build.pkg-config-path=[extra paths for BUILD pkg-config to search]:paths:_dir_list -s ,'
+ '--cmake-prefix-path=[extra prefixes for HOST cmake to search]:paths:_dir_list -s ,'
+ '--build.cmake-prefix-path=[extra prefix for BUILD cmake to search]:paths:_dir_list -s ,'
)
local -a meson_commands=(