Skip to content

Commit 826a3fc

Browse files
eli-schwartzddevault
authored andcommitted
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.
1 parent a61e4fe commit 826a3fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ if get_option('fish-completions')
145145
if fish_comp.found()
146146
fish_install_dir = fish_comp.get_pkgconfig_variable('completionsdir')
147147
else
148-
fish_install_dir = datadir + '/fish/completions'
148+
fish_install_dir = datadir + '/fish/vendor_completions.d'
149149
endif
150150

151151
install_data(fish_files, install_dir: fish_install_dir)

0 commit comments

Comments
 (0)