mirror of
https://github.com/iwata/git-now.git
synced 2026-09-10 07:26:29 -04:00
fixed --zsh-completion option
This commit is contained in:
parent
82f7a70f3f
commit
94dda264e4
|
|
@ -1,8 +1,8 @@
|
|||
require 'formula'
|
||||
|
||||
class GitNow < Formula
|
||||
url 'https://github.com/iwata/git-now.git', :tag => 'v0.1.0.7'
|
||||
version '0.1.0.7'
|
||||
url 'https://github.com/iwata/git-now.git', :tag => 'v0.1.0.8'
|
||||
version '0.1.0.8'
|
||||
head 'https://github.com/iwata/git-now.git', :branch => 'develop'
|
||||
homepage 'https://github.com/iwata/git-now'
|
||||
|
||||
|
|
@ -27,7 +27,8 @@ class GitNow < Formula
|
|||
system "brew ln gnu-getopt"
|
||||
end
|
||||
if ARGV.include?('--zsh-completion')
|
||||
"#{share}/zsh/functions".install "etc/_git-now"
|
||||
zsh_functions_d = share + 'zsh/functions'
|
||||
zsh_functions_d.install "etc/_git-now"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue