diff options
author | Martin Kalchev <martin.kalchev@mail.ru> | 2018-08-26 19:27:18 +0300 |
---|---|---|
committer | Martin Kalchev <martin.kalchev@mail.ru> | 2018-08-26 19:27:18 +0300 |
commit | f3c18336d208c5755e3e580f968f00bff39bb5f1 (patch) | |
tree | 3b5d39ddacfa73a1d39546207011b97ddca7a39a | |
parent | 4f57c3da0ee00978e56190e2015482a041e48e82 (diff) | |
download | sway-f3c18336d208c5755e3e580f968f00bff39bb5f1.tar.xz |
added fish to meson.build
-rw-r--r-- | meson.build | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 2a020323..0e4b4f21 100644 --- a/meson.build +++ b/meson.build @@ -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 |