diff options
Diffstat (limited to 'shell-completion/bash/kernel-install')
-rw-r--r-- | shell-completion/bash/kernel-install | 2 |
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 ;; |