diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-07-30 13:11:20 -0400 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-07-30 13:11:20 -0400 |
| commit | 9ba6b91dc63776222853f2658bff7c602682eeb6 (patch) | |
| tree | 742714aeaff5118afabf0cb2179040655510e9df /meson.build | |
| parent | d8be0f1730d336a8f2df93241453bfc2cf12c951 (diff) | |
| parent | 3d363f6a36d6e5f4690ab4a4833cddf7a5353db0 (diff) | |
Merge pull request #2387 from 1ace/feature/bash-completion
bash completion
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 1131f1c9..05d334d2 100644 --- a/meson.build +++ b/meson.build @@ -190,3 +190,15 @@ if (get_option('zsh_completions')) install_data(zsh_files, install_dir: zsh_install_dir) endif + +if (get_option('bash_completions')) + bash_files = files( + 'completions/bash/sway', + 'completions/bash/swayidle', + 'completions/bash/swaylock', + 'completions/bash/swaymsg', + ) + bash_install_dir = datadir + '/bash-completion/completions' + + install_data(bash_files, install_dir: bash_install_dir) +endif |
