aboutsummaryrefslogtreecommitdiff
path: root/completions/meson.build
diff options
context:
space:
mode:
authorSimon Schricker <s.schricker@sillage.at>2021-03-13 18:04:33 +0000
committerSimon Schricker <s.schricker@sillage.at>2021-03-17 12:10:28 +0000
commitb169623b642d44109bb073b7b7fe2f1e88a5da69 (patch)
treee5b1c381666d2f4fb6bb603b3d31bde11fe54b9d /completions/meson.build
parentMerge branch 'optimized-print-function' (diff)
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>
Diffstat (limited to 'completions/meson.build')
-rw-r--r--completions/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/completions/meson.build b/completions/meson.build
index 82198d0b..b0da9455 100644
--- a/completions/meson.build
+++ b/completions/meson.build
@@ -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)