require 'formula'

class Ninja < Formula
  homepage 'https://github.com/martine/ninja'
  url 'https://github.com/martine/ninja/tarball/v1.1.0'
  sha1 '491b087d124c832f83a427d424b5e48f0f3803c3'

  def install
    system "./bootstrap.py"
    bin.install "ninja"
    (prefix/'etc/bash_completion.d').install 'misc/bash-completion' => 'ninja-completion.sh'
    (prefix/'share/zsh/site-functions').install 'misc/zsh-completion' => '_zsh'
  end
end

require 'formula'

class Ninja < Formula
  homepage 'https://github.com/martine/ninja'
  url 'https://github.com/martine/ninja/tarball/v1.1.0'
  sha1 '491b087d124c832f83a427d424b5e48f0f3803c3'

  def install
    system "./bootstrap.py"
    bin.install "ninja"
    (prefix/'etc/bash_completion.d').install 'misc/bash-completion' => 'ninja-completion.sh'
  end
end

Remove zsh completion that wasn't installed as it should
Remove zsh completion that wasn't installed as it should
