summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2020-01-21 23:05:43 -0500
committerDrew DeVault <sir@cmpwn.com>2020-01-22 13:30:53 -0500
commit0515c15bb9150e528d0d06e49484f097e5381ab9 (patch)
treeae0cd4042800a9ed47dc767466dbf04ab94f7d98
parent12535a3831dbd940c55b04edac051fb6ac6b63c5 (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 5769da359..500a133a3 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)