Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wezterm@nightly: add shell completions #192724

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Casks/w/[email protected]
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cask "wezterm@nightly" do

Check failure on line 1 in Casks/w/[email protected]

View workflow job for this annotation

GitHub Actions / test wezterm@nightly (macos-15, arm)

exception while auditing wezterm@nightly: undefined method `to_str' for nil
version :latest
sha256 :no_check

url "https://github.com/wez/wezterm/releases/download/nightly/WezTerm-macos-nightly.zip",

Check failure on line 5 in Casks/w/[email protected]

View workflow job for this annotation

GitHub Actions / test wezterm@nightly (macos-15, arm)

No binaries in App: /opt/homebrew/Caskroom/wezterm@nightly/latest/WezTerm.app
verified: "github.com/wez/wezterm/"
name "WezTerm"
desc "GPU-accelerated cross-platform terminal emulator and multiplexer"
Expand All @@ -11,7 +11,6 @@
conflicts_with cask: "wezterm"

app "WezTerm.app"

%w[
wezterm
wezterm-gui
Expand All @@ -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
Expand Down
Loading