mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
Merge pull request #2387 from 1ace/feature/bash-completion
bash completion
This commit is contained in:
commit
878d1ddd07
6 changed files with 230 additions and 0 deletions
12
meson.build
12
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue