From 89f1ede511802c025a952c141a48340b8ad62ec6 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 21 Jan 2020 23:19:37 -0500 Subject: [PATCH] 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. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index ce955f8..be081e1 100644 --- a/meson.build +++ b/meson.build @@ -214,7 +214,7 @@ if get_option('fish-completions') if fish_comp.found() fish_install_dir = fish_comp.get_pkgconfig_variable('completionsdir') else - fish_install_dir = datadir + '/fish/completions' + fish_install_dir = datadir + '/fish/vendor_completions.d' endif install_data(fish_files, install_dir: fish_install_dir)