diff --git a/Casks/w/wezterm@nightly.rb b/Casks/w/wezterm@nightly.rb index a30328c780b2..75e8f7eab2cb 100644 --- a/Casks/w/wezterm@nightly.rb +++ b/Casks/w/wezterm@nightly.rb @@ -11,7 +11,6 @@ conflicts_with cask: "wezterm" app "WezTerm.app" - %w[ wezterm wezterm-gui @@ -21,6 +20,13 @@ binary "#{appdir}/WezTerm.app/Contents/MacOS/#{tool}" end + binary "WezTerm.app/Contents/Resources/shell-completion/zsh", + target: "#{HOMEBREW_PREFIX}/share/zsh/site-functions/_wezterm" + binary "WezTerm.app/Contents/Resources/shell-completion/bash", + target: "#{HOMEBREW_PREFIX}/etc/bash_completion.d/wezterm" + binary "WezTerm.app/Contents/Resources/shell-completion/fish", + target: "#{HOMEBREW_PREFIX}/share/fish/vendor_completions.d/wezterm.fish" + preflight do # Move "WezTerm-macos-#{version}/WezTerm.app" out of the subfolder staged_subfolder = staged_path.glob(["WezTerm-*", "wezterm-*"]).first