aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2020-01-21 23:05:43 -0500
committerSimon Ser <contact@emersion.fr>2020-01-22 18:05:29 +0100
commit4a73f69d104d037c0aa3873a0cd1536587080eee (patch)
tree5a73bef86c0508b167cfc2ce4fd31d94d72a0161
parent03e8ce7b203d38278fa35482fb2f6cd198bbebf7 (diff)
downloadsway-4a73f69d104d037c0aa3873a0cd1536587080eee.tar.xz
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)