zshcompletiondir = get_option('zshcompletiondir') if zshcompletiondir == '' zshcompletiondir = join_paths(get_option('datadir'), 'zsh', 'site-functions') endif if zshcompletiondir != 'no' install_data( '_libinput', install_dir: zshcompletiondir, install_mode: 'rw-r--r--', ) endif