From 0330ed0797a8bb3e972fb22eea1a13056d34ddf9 Mon Sep 17 00:00:00 2001 From: Dmitry Chepurovskiy Date: Wed, 13 Nov 2019 03:38:42 +0300 Subject: [PATCH] Remove conditions from autocomplete installations --- .goreleaser.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 7115847..0f87529 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -40,12 +40,7 @@ brews: test: | system "#{bin}/flora", "--help" install: | - case File.basename(ENV["SHELL"]) - when "zsh" zsh_completion.install "configs/autocomplete/flora_zsh_autocomplete" => "_flora" - when "bash" - url "https://raw.githubusercontent.com/ketchoop/flora/master/configs/autocomplete/flora_bash_autocomplete" - bash_completion.install "configs/autocomplete/flora_bash_autocomplete" => "_flora" - end + bash_completion.install "configs/autocomplete/flora_bash_autocomplete" => "_flora" bin.install "flora"