1 cask "wezterm@nightly" do
5 url "https://github.com/wez/wezterm/releases/download/nightly/WezTerm-macos-nightly.zip",
6 verified: "github.com/wez/wezterm/"
8 desc "GPU-accelerated cross-platform terminal emulator and multiplexer"
9 homepage "https://wezfurlong.org/wezterm/"
11 conflicts_with cask: "wezterm"
20 binary "#{appdir}/WezTerm.app/Contents/MacOS/#{tool}"
23 binary "#{appdir}/WezTerm.app/Contents/Resources/shell-completion/zsh",
24 target: "#{HOMEBREW_PREFIX}/share/zsh/site-functions/_wezterm"
25 binary "#{appdir}/WezTerm.app/Contents/Resources/shell-completion/bash",
26 target: "#{HOMEBREW_PREFIX}/etc/bash_completion.d/wezterm"
27 binary "#{appdir}/WezTerm.app/Contents/Resources/shell-completion/fish",
28 target: "#{HOMEBREW_PREFIX}/share/fish/vendor_completions.d/wezterm.fish"
31 # Move "WezTerm-macos-#{version}/WezTerm.app" out of the subfolder
32 staged_subfolder = staged_path.glob(["WezTerm-*", "wezterm-*"]).first
34 FileUtils.mv(staged_subfolder/"WezTerm.app", staged_path)
35 FileUtils.rm_r(staged_subfolder)
39 zap trash: "~/Library/Saved Application State/com.github.wez.wezterm.savedState"