Skip to content

Inhibit command on script and generalize single-tab bar hiding#220

Merged
sbertix merged 1 commit intomainfrom
sbertix/inhibit-command-on-script
Apr 3, 2026
Merged

Inhibit command on script and generalize single-tab bar hiding#220
sbertix merged 1 commit intomainfrom
sbertix/inhibit-command-on-script

Conversation

@sbertix
Copy link
Copy Markdown
Collaborator

@sbertix sbertix commented Apr 3, 2026

Summary

  • Replace tmux-specific tab bar hiding with a general "Hide Tab Bar for Single Tab" setting (hideSingleTabBar), with legacy migration for the old hideTmuxTabBar key.
  • Pass an explicit command and environmentVariables through GhosttySurfaceView so blocking scripts can launch with a controlled shell and script environment.
  • Add a copy-to-clipboard button for script variable keys in repository settings.

Test plan

  • Verify the "Hide Tab Bar for Single Tab" toggle works in Appearance settings.
  • Confirm existing hideTmuxTabBar persisted settings migrate correctly to hideSingleTabBar.
  • Test that blocking scripts launch with the correct command and environment variables.
  • Test the copy button for variable keys in repository settings.

Closes #217, #219

Replace tmux-specific tab bar hiding with a general "hide tab bar for
single tab" setting. Pass an explicit command and environment variables
through to GhosttySurfaceView so blocking scripts can launch with a
controlled shell. Add a copy-to-clipboard button for script variable
keys in repository settings.
@sbertix sbertix mentioned this pull request Apr 3, 2026
@sbertix sbertix merged commit 301cf39 into main Apr 3, 2026
1 check passed
@sbertix sbertix deleted the sbertix/inhibit-command-on-script branch April 3, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete script brakes worktree deletion

1 participant