Kurtis Rader
8e87d595b7
remove some uses of $IFS
...
This is a step towards resolving issue #4156 . It replaces uses of `$IFS`
with other solutions.
2017-07-24 20:45:43 -07:00
Guilhem Saurel
e07928062f
addressing comments
2017-01-26 00:01:34 +01:00
Guilhem Saurel
fab4399b8c
available completions for systemctl depends on its current version
2017-01-25 01:14:38 +01:00
Guilhem Saurel
1350b44ecf
systemctl completions: add cat & edit commands
2017-01-22 03:22:29 +01:00
Fabian Homborg
d66d51f101
systemctl completions: Add reset-failed completion
...
Fixes #3153 .
2016-06-21 12:43:50 +02:00
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