cmake: Install zsh compdef

This commit is contained in:
Michael Carlberg 2017-01-01 21:40:03 +01:00
parent e0688307f3
commit b8545cbbd1
2 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,8 @@
# Generate configuration file # Generate configuration file
# #
add_subdirectory(zsh)
set(MODULES_LEFT "bspwm i3 xwindow") set(MODULES_LEFT "bspwm i3 xwindow")
set(MODULES_CENTER "") set(MODULES_CENTER "")
set(MODULES_RIGHT "backlight volume xkeyboard memory cpu wlan eth battery temperature date powermenu") set(MODULES_RIGHT "backlight volume xkeyboard memory cpu wlan eth battery temperature date powermenu")

7
doc/zsh/CMakeLists.txt Normal file
View File

@ -0,0 +1,7 @@
#
# Zsh completion template
#
install(FILES _polybar
DESTINATION share/zsh/site-functions
COMPONENT tools)