mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
bash-completion: kernel-install: update default path to kernel image
This commit is contained in:
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user