fish-completion: use the correct fallback directory

fish completions should never be installed to share/fish/completions/ as
that directory is reserved exclusively for completions shipped as part
of the fish source code.

Use the same vendor_completions.d/ directory which the default fish
configuration uses.
parent bf46e4de
......@@ -81,7 +81,7 @@ fish_comp = dependency('fish', required: false)
if fish_comp.found()
fish_compdir = fish_comp.get_pkgconfig_variable('completionsdir')
fish_compdir = join_paths(datadir, 'fish', 'completions')
fish_compdir = join_paths(datadir, 'fish', 'vendor_completions.d')
install_data(bash_completion, install_dir: bash_compdir)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment