aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2020-01-21 23:05:43 -0500
committerFurkan Sahin <furkan-dev@proton.me>2020-01-21 23:05:43 -0500
commit75307dc25e0c44389e92d3eb36ebe7117d2d0062 (patch)
tree5a73bef86c0508b167cfc2ce4fd31d94d72a0161
parent934cd6a8a3deebae8c8106d96059763a221d5ad6 (diff)
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.
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index ca0c791f..54351812 100644
--- a/meson.build
+++ b/meson.build
@@ -280,7 +280,7 @@ if get_option('fish-completions')
if fish_comp.found()
fish_install_dir = fish_comp.get_pkgconfig_variable('completionsdir')
else
- fish_install_dir = join_paths(datadir, 'fish', 'completions')
+ fish_install_dir = join_paths(datadir, 'fish', 'vendor_completions.d')
endif
install_data(fish_files, install_dir: fish_install_dir)