foudfou/zsh-completion — Issue #4: fix completion for 'enable' command
Author: foudfou
Created: 2011-12-06 11:57:35+00:00
State: open

it seems like we should be using the following commands to find enabled/disabled commands:

pkg-config systemd --variable=systemdsystemunitdir
pkg-config systemd --variable=systemdsystemconfdir
pkg-config systemd --variable=systemduserunitdir
pkg-config systemd --variable=systemduserconfdir

it also seems that systemctl provides --list-unit-files in recent versions.