diff options
author | Harald Hoyer <harald@redhat.com> | 2013-03-15 10:42:18 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-15 10:42:18 +0100 |
commit | fb05f9876ac18b64c8b9e07f9eb2e451e818b46e (patch) | |
tree | 27e85ab8b758b6f71e4805440075688118069a48 /dracut-bash-completion.sh | |
parent | 7e9bfdde14e64b959f5ae24aa8e6d91e56d09ec6 (diff) | |
download | dracut-fb05f9876ac18b64c8b9e07f9eb2e451e818b46e.tar.gz dracut-fb05f9876ac18b64c8b9e07f9eb2e451e818b46e.tar.bz2 dracut-fb05f9876ac18b64c8b9e07f9eb2e451e818b46e.zip |
dracut-bash-completion.sh: add --kver kernel version completion
Diffstat (limited to 'dracut-bash-completion.sh')
-rw-r--r-- | dracut-bash-completion.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dracut-bash-completion.sh b/dracut-bash-completion.sh index 38e2ebd9..322e630b 100644 --- a/dracut-bash-completion.sh +++ b/dracut-bash-completion.sh @@ -51,6 +51,9 @@ _dracut() { -a|-m|-o|--add|--modules|--omit) comps=$(dracut --list-modules 2>/dev/null) ;; + --kver) + comps=$(cd /lib/modules; echo *) + ;; *) return 0 ;; |