mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
bash-completion: kernel-install: update default path to kernel image
This commit is contained in:
parent
41053e9bdf
commit
29e08b9e9e
|
@ -38,7 +38,7 @@ _kernel_install() {
|
|||
fi
|
||||
;;
|
||||
3)
|
||||
[[ "$cur" ]] || cur=/boot/vmlinuz-${COMP_WORDS[2]}
|
||||
[[ "$cur" ]] || cur=/lib/modules/${COMP_WORDS[2]}/vmlinuz
|
||||
comps=$(compgen -f -- "$cur")
|
||||
compopt -o filenames
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue