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 04cd945..3fa59fa 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; } }