Hyprland/completions/meson.build
2023-10-09 17:29:42 +02:00

6 lines
592 B
Meson

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('generated/hyprctl.zsh', rename: '_hyprctl', install_dir: zsh_install_dir, install_tag: 'runtime')
install_data('generated/hyprctl.fish', install_dir: fish_install_dir, install_tag: 'runtime')
install_data('generated/hyprctl.bash', rename: 'hyprctl', install_dir: bash_install_dir, install_tag: 'runtime')