Generate shell completions by calling tart.app executable (#775)

This commit is contained in:
Tor Arne Vestbø 2024-04-03 01:22:52 +02:00 committed by GitHub
parent b7b3b702ac
commit 13e7794bfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -52,6 +52,6 @@ brews:
install: |
libexec.install Dir["*"]
bin.write_exec_script "#{libexec}/tart.app/Contents/MacOS/tart"
generate_completions_from_executable(bin/"tart", "--generate-completion-script")
generate_completions_from_executable(libexec/"tart.app/Contents/MacOS/tart", "--generate-completion-script")
custom_block: |
depends_on :macos => :ventura