zsh-completion: remove duplicate function

https://bugs.archlinux.org/task/43069
(cherry picked from commit 820aced6f6)
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2015-01-15 22:30:47 -05:00
parent 9897c6b346
commit bce18d89b0
-1
View File
@@ -141,7 +141,6 @@ _filter_units_by_property() {
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; } }