X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=shell-completion%2Fzsh%2F_kernel-install;h=4fdd3a4ae7cec5afee20033f34fdac27348bb17b;hp=065518834c1b98d4072409198d590902b78e4a43;hb=557b5d4a94967198b3181fcb83879d4569cbf456;hpb=7eb942c4086c563ca08f1b94c974d896eedb2e64 diff --git a/shell-completion/zsh/_kernel-install b/shell-completion/zsh/_kernel-install index 065518834..4fdd3a4ae 100644 --- a/shell-completion/zsh/_kernel-install +++ b/shell-completion/zsh/_kernel-install @@ -12,7 +12,7 @@ _kernels(){ read _MACHINE_ID < /etc/machine-id _kernel=( /lib/modules/[0-9]* ) if [[ "$cmd" == "remove" && -n "$_MACHINE_ID" ]]; then - _kernel=( /lib/modules/[0-9]* "/boot/$_MACHINE_ID"/[0-9]* ) + _kernel=( "/boot/$_MACHINE_ID"/[0-9]* ) fi _kernel=( ${_kernel##*/} ) _describe "installed kernels" _kernel