mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-04 04:31:27 +00:00
shell-completion: restore completion for -p
It was broken since systemd was moved out of /bin. For zsh it was never there.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
/systemctl
|
||||
@@ -24,8 +24,8 @@ __systemctl() {
|
||||
|
||||
__systemd_properties() {
|
||||
local mode=$1
|
||||
{ __systemctl -a $mode show;
|
||||
systemd --dump-configuration-items; } |
|
||||
{ __systemctl $mode show --all;
|
||||
@rootlibexecdir@/systemd --dump-configuration-items; } |
|
||||
while IFS='=' read -r key value; do
|
||||
[[ $value ]] && echo "$key"
|
||||
done
|
||||
Reference in New Issue
Block a user