diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 1cb40ade..5be1f8d2 100644 --- a/meson.build +++ b/meson.build | |||
@@ -191,3 +191,15 @@ if (get_option('zsh_completions')) | |||
191 | 191 | ||
192 | install_data(zsh_files, install_dir: zsh_install_dir) | 192 | install_data(zsh_files, install_dir: zsh_install_dir) |
193 | endif | 193 | endif |
194 | |||
195 | if (get_option('bash_completions')) | ||
196 | bash_files = files( | ||
197 | 'completions/bash/sway', | ||
198 | 'completions/bash/swayidle', | ||
199 | 'completions/bash/swaylock', | ||
200 | 'completions/bash/swaymsg', | ||
201 | ) | ||
202 | bash_install_dir = datadir + '/bash-completion/completions' | ||
203 | |||
204 | install_data(bash_files, install_dir: bash_install_dir) | ||
205 | endif | ||