diff options
author | Александр Тихонов <disarmer.mk@gmail.com> | 2017-01-21 23:53:09 +0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-01-21 14:53:09 -0500 |
commit | 88e4dbd505ed4f8480b1f3b837b3c2ac55f1b1dd (patch) | |
tree | b9c64c8d39df3492b0fdba9673db72e0dfea4065 /sysusers.d | |
parent | 2feb1c9659f8f9d873615b0c28217a659bdbc86a (diff) |
Fixi caching in zsh completion (#5122)
I found several issues with zsh completion code:
1. typo in cache filename: "SYS_ALL_PROPRTIES", so cache just not loading from this file
2. cache stored in one file, despite user or system mode. So it can be loaded later in wrong mode
3. most serious problem: broken logic - it retrieves cache when _cache_invalid is true
How to reproduce: type "systemctl --user status <TAB>" and you will see user units. Then press
control+C and type "systemctl --system status <TAB>" in same session and you'll see user units again
Diffstat (limited to 'sysusers.d')
0 files changed, 0 insertions, 0 deletions