chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus-proxy: also consider ENOTCONN a clean termination condition
[elogind.git]
/
shell-completion
/
zsh
/
_kernel-install
diff --git
a/shell-completion/zsh/_kernel-install
b/shell-completion/zsh/_kernel-install
index 065518834c1b98d4072409198d590902b78e4a43..4fdd3a4ae7cec5afee20033f34fdac27348bb17b 100644
(file)
--- 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
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
fi
_kernel=( ${_kernel##*/} )
_describe "installed kernels" _kernel