shell-completion: Install the Zsh completions

This makes the Zsh completions work out-of-the-box. I also moved
pulseaudio-zsh-completion.zsh to zsh/_pulseaudio to be in line with
the common naming convention of Zsh completion files.
This commit is contained in:
Tanu Kaskinen 2014-08-12 12:41:55 +03:00
parent f480fb38a7
commit be8171be79
3 changed files with 11 additions and 1 deletions

View file

@ -29,7 +29,6 @@ EXTRA_DIST = \
PROTOCOL \
README \
todo \
shell-completion/pulseaudio-zsh-completion.zsh \
.gitignore \
doxygen/.gitignore \
m4/.gitignore \
@ -64,6 +63,9 @@ cmake_DATA = PulseAudioConfig.cmake PulseAudioConfigVersion.cmake
bashcompletiondir=$(sysconfdir)/bash_completion.d
dist_bashcompletion_DATA = shell-completion/pulseaudio-bash-completion.sh
zshcompletiondir=@zshcompletiondir@
dist_zshcompletion_DATA = shell-completion/zsh/_pulseaudio
homepage: all dist doxygen
test -d $$HOME/homepage/private
mkdir -p $$HOME/homepage/private/projects/pulseaudio $$HOME/homepage/private/projects/pulseaudio/doxygen