Bug 61695

Summary: bash completion does not work with user session units
Product: systemd Reporter: JR <zorael>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium CC: zorael
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description JR 2013-03-02 16:41:50 UTC
Arch linux amd64 running systemd 197 from git (aur/systemd-git).

The systemctl bash completion file ignores the --user argument and instead tab-completes system units.

  $ systemctl --user
  UNIT              LOAD   ACTIVE SUB     DESCRIPTION
  chromium.service  loaded active running Chromium Web Browser
  steam.service     loaded active running Steam
  tmux@main.service loaded active running tmux client instance (main)
  [...]

  $ systemctl --user stop #tab tab
  NetworkManager.service          systemd-binfmt.service
  avahi-daemon.service            systemd-journald.service
  bluetooth.service               systemd-logind.service
  dbus.service                    systemd-remount-fs.service
  [...]
Comment 1 Zbigniew Jedrzejewski-Szmek 2013-04-05 15:46:13 UTC
Fixed in http://cgit.freedesktop.org/systemd/systemd/commit/?id=9e542e0b3a.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.