我有一个包含 zsh 完成脚本的项目,当用户安装软件时我应该将完成文件复制到哪里(例如通过运行make install,apt install或pacman -Si...)?
make install
apt install
pacman -Si
我知道其他 shell 有一些特定的完成脚本目录,例如: fish -> /usr/share/fish/vendor_completions.d bash ->/usr/share/bash-completion/completions
/usr/share/fish/vendor_completions.d
/usr/share/bash-completion/completions
那么 zsh 呢? 兹什->/usr/share/???
/usr/share/???
linux zsh
linux ×1
zsh ×1