Merge pull request #2387 from 1ace/feature/bash-completion

bash completion
This commit is contained in:
Drew DeVault 2018-07-30 13:11:20 -04:00 committed by GitHub
commit 878d1ddd07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 230 additions and 0 deletions

View file

@ -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