From b8545cbbd16cc694da40568ae69c1919a24dce67 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Sun, 1 Jan 2017 21:40:03 +0100 Subject: [PATCH] cmake: Install zsh compdef --- doc/CMakeLists.txt | 2 ++ doc/zsh/CMakeLists.txt | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 doc/zsh/CMakeLists.txt diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index cfab987c..02864e16 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -2,6 +2,8 @@ # Generate configuration file # +add_subdirectory(zsh) + set(MODULES_LEFT "bspwm i3 xwindow") set(MODULES_CENTER "") set(MODULES_RIGHT "backlight volume xkeyboard memory cpu wlan eth battery temperature date powermenu") diff --git a/doc/zsh/CMakeLists.txt b/doc/zsh/CMakeLists.txt new file mode 100644 index 00000000..142bad35 --- /dev/null +++ b/doc/zsh/CMakeLists.txt @@ -0,0 +1,7 @@ +# +# Zsh completion template +# + +install(FILES _polybar + DESTINATION share/zsh/site-functions + COMPONENT tools)