Skip to content

Commit

Permalink
fish-completion: use the correct fallback directory
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
eli-schwartz authored and ddevault committed Jan 22, 2020
1 parent a61e4fe commit 826a3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,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)
Expand Down

0 comments on commit 826a3fc

Please sign in to comment.