Mahmoud Al-Qudsi
c560240abc
[zpool] Improve ZFS completions
...
Do not show devices already part of a zpool on calls to `zpool add`
and the converse.
2020-10-25 21:51:34 -05:00
Fabian Homborg
495cbb185f
completions/zpool: Use --inherit-variable
...
The local-exported variable will have disappeared by the time the
function is called.
"-V"/"--inherit-variable" is meant for something like this.
Fixes #7011
2020-05-16 23:02:47 +02:00
Johannes Altmanninger
49c5f96470
Use set -l to force use of a local variable
...
Bare set overwrites a global/universal variable if it exists.
2020-05-15 08:25:07 +02:00
Fabian Homborg
9367d4ff71
Reindent functions to remove useless quotes
...
This does not include checks/function.fish because that currently
includes a "; end" in a message that indent would remove, breaking the test.
2020-03-09 19:46:43 +01:00
Jason Nader
f507f4ad1e
Ddon't use gettext fn in fish functions
2020-02-28 11:29:54 +01:00
Jason
3cf6ebc0e1
Amend typos and grammar errors
2019-11-25 13:07:15 +01:00
Fabian Homborg
ce245704d7
Reformat completion scripts
...
These were excluded from style.fish
2019-05-05 12:53:09 +02:00
Mahmoud Al-Qudsi
93b02dcec4
Don't use camcontrol in FreeBSD zpool completions
...
It requires root/su privileges to list devices, and we have a great
alternative that already produces the desired results.
2019-03-29 17:43:03 -05:00
Fabian Homborg
fc7d11d7b8
Update zpool completions to use string
instead of grep
2019-03-29 17:37:26 -05:00
Fabian Homborg
aa08504fe3
completions/zpool: Stringify a bit
...
These are the simple bits - replace useless helper functions and uses
of grep/sed with string or other appropriate tools.
2019-03-14 13:23:47 +01:00
David Guyot
dcf9ce6fc5
Added completions/translations for zfs and zpool
2017-12-21 16:39:06 +01:00