chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zsh-completion: remove duplicate function
[elogind.git]
/
shell-completion
/
zsh
/
_systemctl.in
diff --git
a/shell-completion/zsh/_systemctl.in
b/shell-completion/zsh/_systemctl.in
index 04cd94518a359ed8e4f83620fa45e3f34737c921..3fa59faca16e8f6dc42cfe8f1e10866f388a4ab0 100644
(file)
--- a/
shell-completion/zsh/_systemctl.in
+++ b/
shell-completion/zsh/_systemctl.in
@@
-142,7
+142,6
@@
_filter_units_by_property() {
done
}
done
}
-_systemctl_all_units() { { __systemctl list-unit-files; __systemctl list-units --all; } | { while read -r a b; do [[ $a =~ @\. ]] || echo -E - " $a"; done; } }
_systemctl_get_template_names() { __systemctl list-unit-files | { while read -r a b; do [[ $a =~ @\. ]] && echo -E - " ${a%%@.*}@"; done; } }
_systemctl_get_template_names() { __systemctl list-unit-files | { while read -r a b; do [[ $a =~ @\. ]] && echo -E - " ${a%%@.*}@"; done; } }