summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-01-10 16:52:27 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-01-10 23:16:29 +0900
commit29e08b9e9e4c7758f4c87110dc77b2c961205cfe (patch)
tree3453ff573cb902d98a91d0b9d51f62a8baec7f22 /shell-completion
parent41053e9bdfc064ac45e3e52d9e523ee255fb1d9d (diff)
downloadsystemd-29e08b9e9e4c7758f4c87110dc77b2c961205cfe.tar.gz
bash-completion: kernel-install: update default path to kernel image
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/kernel-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/kernel-install b/shell-completion/bash/kernel-install
index 5a78528d36..f291d3e63a 100644
--- a/shell-completion/bash/kernel-install
+++ b/shell-completion/bash/kernel-install
@@ -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
;;