Commit Graph

4 Commits

Author SHA1 Message Date
Sami Kerola abbcec4fc9
bash-completion: make completions to work when bash set -u is in use
User who want to avoid refering to none-existing variables got earlier the
following error.

$ set -u
$ findmnt --output <tab>bash: OUTPUT: unbound variable

Here is short explanation of this setting.

$ help set
 -u  Treat unset variables as an error when substituting.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-07-15 22:05:42 +01:00
Sami Kerola 1ab3f16b43 bash-completion: update fincore
Add RES column to --output completions.

Commit: e4e8b57be2
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-04-18 11:13:27 +02:00
Sami Kerola 69dee227f2 bash-completion: update fincore to have latest options
Also include --output smartcols fields.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-03-24 11:51:55 +01:00
Masatake YAMATO 483baa35ab bash-completion: add a function for fincore command
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
2017-03-23 12:46:41 +01:00