chiark / gitweb /
zsh-completion: remove duplicate function v218
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 10 Dec 2014 22:34:41 +0000 (17:34 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 10 Dec 2014 22:34:56 +0000 (17:34 -0500)
https://bugs.archlinux.org/task/43069

shell-completion/zsh/_systemctl.in

index 04cd94518a359ed8e4f83620fa45e3f34737c921..3fa59faca16e8f6dc42cfe8f1e10866f388a4ab0 100644 (file)
@@ -142,7 +142,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; } }