You are not logged in.
Hiya,
I've been using zsh, & it's completion for 'systemctl' & 'systemctl --user' subcommands for a long while.
Then, one day suddenly / randomly, completion suggestions for 'systemctl --user' subcommands (e.g. 'systemctl --user restart TAB TAB') has starting missing out most (not all) of my custom user units (in ~/.config/systemd/user)
I've researched a lot (hours over the last 2 months) & but still not found anything useful at all ![]()
I've tried everything I could think of to fix it.
I've tried deleting all my custom unit files, & selectively adding some (with 'systemctl --user daemon-reload' used generously to refresh the state).
It does show some of my units. However, this behaviour is consistent (of which units are always working / shown, & which are not)
I'm sure my unit files are good, because they all worked flawlessly before randomly going weird with zsh.
NOTE; bash's completion still works perfectly. It's just zsh that has gone weird... (further implying my unit files / permissions, etc are all good)
Any help appreciated - it's making it cumbersome to manage my system / units
Thank you!
Last edited by XG SiNGH (2015-11-22 00:07:17)
BOiNG BOiNG
-- HEAD KANGAROO
KangarooCreativeTeam.com
Offline
Works fine here with Zsh 5.1.1-2
Do you run vanilla Zsh, or have you installed something like Oh-my-zsh?
Offline
Hiya - thanks for the (FAST) reply.
I forgot to mention: I too am using zsh 5.1.1-2, & also Oh-My-ZSH.
However, I've created a minimal vanilla .zshrc (via it's own fresh-install wizard), which produces only this as content:
# The following lines were added by compinstall
zstyle :compinstall filename '/home/username/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall(so totally not using oh-my-zsh)
However; it's still not working ![]()
O_O
Last edited by XG SiNGH (2015-11-22 00:54:14)
BOiNG BOiNG
-- HEAD KANGAROO
KangarooCreativeTeam.com
Offline
That's a shame: I would have totally blamed OMZ. The number of people that show with issues here that trace back to that clusterfuck...
Just to be sure, make sure it isn't sourcing some crap into your env.
Offline