Skip to content

Commit

Permalink
Workaround for zsh completion heuristics for init.d scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeth committed Oct 30, 2020
1 parent c6296f4 commit d5c1840
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# ChangeLog for zram-init:

*zram-init-10.9:
Martin Väth <martin at mvath.de>:
- Workaround for zsh completion heuristics for init.d scripts.
Thanks to Holger Hoffstätte <holger at applied-asynchrony.com>.
See https://github.com/vaeth/zram-init/issues/31.

*zram-init-10.8:
Martin Väth <martin at mvath.de>:
- Fix zsh completion https://github.com/vaeth/zram-init/issues/31
Expand Down
3 changes: 1 addition & 2 deletions openrc/init.d/zram-init
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ ZramSanityCheck() {
}

ZramIgnore() {
eval "fstype=\${type$1-}
eval "fstype=\${type$1-} opts=\${opts$1-}
size=\${size$1:-0}
mlim=\${mlim$1-}
back=\${back$1-}
Expand All @@ -62,7 +62,6 @@ ZramIgnore() {
blck=\${blck$1-}
irat=\${irat$1-}
inod=\${inod$1-}
opts=\${opts$1-}
owgr=\${owgr$1-}
mode=\${mode$1-}
labl=\${labl$1-}
Expand Down

0 comments on commit d5c1840

Please sign in to comment.