added fish to meson.build

This commit is contained in:
Martin Kalchev 2018-08-26 19:27:18 +03:00
parent 4f57c3da0e
commit f3c18336d2

View file

@ -205,3 +205,14 @@ if (get_option('bash_completions'))
install_data(bash_files, install_dir: bash_install_dir)
endif
if (get_option('fish_completions'))
fish_files = files(
'completions/fish/sway.fish',
'completions/fish/swaylock.fish',
'completions/fish/swaymsg.fish',
)
fish_install_dir = datadir + '/fish/completions'
install_data(fish_files, install_dir: fish_install_dir)
endif