Bug 61695 - bash completion does not work with user session units
Summary: bash completion does not work with user session units
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-02 16:41 UTC by JR
Modified: 2013-04-05 15:46 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.