1zshcompletiondir = get_option('zshcompletiondir')
2if zshcompletiondir == ''
3 zshcompletiondir = get_option('datadir') / 'zsh' / 'site-functions'
4endif
5
6if zshcompletiondir != 'no'
7 install_data(
8 '_libinput',
9 install_dir: zshcompletiondir,
10 install_mode: 'rw-r--r--',
11 )
12endif
13