mirror of
https://github.com/swaywm/sway.git
synced 2024-11-28 10:51:28 +00: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
12535a3831
commit
0515c15bb9
|
@ -280,7 +280,7 @@ if get_option('fish-completions')
|
||||||
if fish_comp.found()
|
if fish_comp.found()
|
||||||
fish_install_dir = fish_comp.get_pkgconfig_variable('completionsdir')
|
fish_install_dir = fish_comp.get_pkgconfig_variable('completionsdir')
|
||||||
else
|
else
|
||||||
fish_install_dir = join_paths(datadir, 'fish', 'completions')
|
fish_install_dir = join_paths(datadir, 'fish', 'vendor_completions.d')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install_data(fish_files, install_dir: fish_install_dir)
|
install_data(fish_files, install_dir: fish_install_dir)
|
||||||
|
|
Loading…
Reference in a new issue