diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2026-06-16 04:20:09 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2026-06-16 10:39:58 +0200 |
| commit | ed273891f334e8481c60f0b4edfdee0b74602b98 (patch) | |
| tree | fbd62974b32c62e2972a5d054e34b7dcaa76e4b9 /Completion/Unix/Command/_shutdown | |
| parent | 54784: cache the last few checks in configure.ac (diff) | |
| download | zsh-ed273891f334e8481c60f0b4edfdee0b74602b98.tar zsh-ed273891f334e8481c60f0b4edfdee0b74602b98.tar.gz zsh-ed273891f334e8481c60f0b4edfdee0b74602b98.tar.bz2 zsh-ed273891f334e8481c60f0b4edfdee0b74602b98.tar.lz zsh-ed273891f334e8481c60f0b4edfdee0b74602b98.tar.xz zsh-ed273891f334e8481c60f0b4edfdee0b74602b98.tar.zst zsh-ed273891f334e8481c60f0b4edfdee0b74602b98.zip | |
54788: fix shutdown completion when not using systemd
Diffstat (limited to 'Completion/Unix/Command/_shutdown')
| -rw-r--r-- | Completion/Unix/Command/_shutdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_shutdown b/Completion/Unix/Command/_shutdown index 2020b9d17..ab98a4325 100644 --- a/Completion/Unix/Command/_shutdown +++ b/Completion/Unix/Command/_shutdown @@ -2,7 +2,7 @@ local -a args -if [[ -d /etc/systemd ]]; then +if [[ -d /run/systemd/system ]]; then _arguments \ '--help[display usage information]' \ '(-H --halt)'{-H,--halt}'[halt the machine]' \ |
