mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-27 12:16:01 +01:00
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.
This commit is contained in:
parent
bf46e4de70
commit
d21d040663
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ fish_comp = dependency('fish', required: false)
|
|||
if fish_comp.found()
|
||||
fish_compdir = fish_comp.get_pkgconfig_variable('completionsdir')
|
||||
else
|
||||
fish_compdir = join_paths(datadir, 'fish', 'completions')
|
||||
fish_compdir = join_paths(datadir, 'fish', 'vendor_completions.d')
|
||||
endif
|
||||
|
||||
install_data(bash_completion, install_dir: bash_compdir)
|
||||
|
|
Loading…
Reference in a new issue