mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 03:25:31 +03: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 New Issue
Block a user