Add: Bash completion for foot and footclient

* use toe for terminfo, thanks Craig.
* adds optional dependency on bash-completion for positional arguments

Co-authored-by: Craig Barnes <craigbarnes@protonmail.com>
This commit is contained in:
Simon Schricker 2021-03-13 19:04:33 +01:00
parent 749ae49c48
commit b169623b64
No known key found for this signature in database
GPG key ID: AC6434A641FC10F5
5 changed files with 164 additions and 0 deletions

View file

@ -1,6 +1,9 @@
zsh_install_dir = join_paths(get_option('datadir'), 'zsh', 'site-functions')
fish_install_dir = join_paths(get_option('datadir'), 'fish', 'vendor_completions.d')
bash_install_dir = join_paths(get_option('datadir'), 'bash-completion', 'completions')
install_data('zsh/_foot', install_dir: zsh_install_dir)
install_data('zsh/_footclient', install_dir: zsh_install_dir)
install_data('fish/foot.fish', install_dir: fish_install_dir)
install_data('fish/footclient.fish', install_dir: fish_install_dir)
install_data('bash/foot', install_dir: bash_install_dir)
install_data('bash/footclient', install_dir: bash_install_dir)