[systemd-devel] [PATCH 1/3] zsh-completion: add missing completions for machinectl

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sat May 16 09:01:07 PDT 2015


On Wed, Apr 22, 2015 at 03:52:59PM -0700, Lukas Rusak wrote:
> +_available_machines() {
> +    local -a _machines
> +    _machines=("${(fo)$(__get_available_machines)}")
> +    typeset -U _machines
> +    if [[ -n "$_machines" ]]; then
> +        _describe 'machines' _machines
> +    else
> +    	_message 'no machines'
> +    fi
^^^ you can see that indentation is borked here. No tabs please!
Hint: if you do 'git config --global color.ui auto', git diff
and similar will highlight tabs in red, making them easy to avoid.

Zbyszek


More information about the systemd-devel mailing list