Fabian Homborg
4d63ebde15
Remove stray "=" from completions.
2016-05-19 14:29:04 +02:00
Fabian Homborg
f86ee20579
systemctl completions: Support systemd in /lib
...
Debian has not merged /usr/lib and /lib, so they install the `systemd`
binary at /lib/systemd/systemd.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790671
2015-09-16 23:18:04 +02:00
Fabian Homborg
385f961b29
systemctl: Add new options from 220
2015-08-05 17:38:58 +02:00
Fabian Homborg
eada714a0a
Complete machines in systemd tools
2015-08-05 17:38:17 +02:00
Fabian Homborg
22103e4849
systemctl: Fix devices/slices/scopes/swaps completion
...
A rogue single-quote meant that a non-existent function
'__fish_systemctl_$t' was called
2015-03-11 13:29:18 +08:00
Fabian Homborg
5a9b1b1b57
Revert "Adjust filters a bit" - it doesn't work for .service
...
Unfortunately, list-unit-files doesn't understand --state=loaded
This needs a new function to explicitly use list-units
This reverts commit 9f521b7694
.
2015-03-06 23:05:24 -08:00
Fabian Homborg
d99ed89aa3
Adjust filters a bit
...
This includes only showing unmasked units in mask, only loaded units in
start and more types in show/list-dependencies
2015-03-06 23:05:24 -08:00
Fabian Homborg
b9dd057a04
Make enable/disable completions work again
...
Was single-quoted, should have been double-quoted
2015-03-06 23:05:24 -08:00
Fabian Homborg
369a09e57e
Simplify code by removing duplicated descriptions
...
For-loops ftw!
2015-03-06 23:05:24 -08:00
Fabian Homborg
468648ff51
systemctl completions: Improve option handling
2015-03-06 23:05:24 -08:00
Fabian Homborg
8c41a053fe
systemctl completions: Show options for --property=
...
Inspired by the official bash completion, this uses systemd --dump-configuration-items.
2015-03-06 23:05:24 -08:00
Fabian Homborg
a1b3358cb8
systemctl completions: Remove duplicated commands
2015-03-06 23:05:24 -08:00
Fabian Homborg
16e65c849c
systemctl completions: Only list matching units on enable/disable
2015-03-06 23:05:24 -08:00
Fabian Homborg
33c0d93b20
systemctl completions: Add more unit types and commands
...
It should now support all unit types mentioned in systemd.unit(5)
2015-03-06 23:05:24 -08:00
Fabian Homborg
3d163eb910
systemctl completions: Simplify code by using __fish_seen_subcommand_from
2015-03-06 23:05:24 -08:00
Fabian Homborg
388a8d09d8
systemctl completions: Support command-after-options
...
This fixes completions for e.g. `systemctl --quiet status`
2015-03-06 23:05:24 -08:00
SanskritFritz
b13179d4f4
Functions instead of static variables for conditions.
2014-05-03 12:30:41 -07:00
Valentin-Costel Hăloiu
cdfb5c2bd8
Add systemctl completions
2013-05-25 00:43:03 -07:00