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

Update title with actual command name when running with sudo #6

Closed
smeetrs opened this issue Jun 12, 2022 · 1 comment
Closed

Update title with actual command name when running with sudo #6

smeetrs opened this issue Jun 12, 2022 · 1 comment

Comments

@smeetrs
Copy link
Contributor

smeetrs commented Jun 12, 2022

When running any command with sudo, the title shows 'sudo' as the running process since the plugin code always picks up the first word in the issued command. Instead, in such cases, the title should be updated with the command name that follows sudo.

olets added a commit that referenced this issue May 15, 2024
if command was run with sudo, include sudo in the window title [#6]
@olets
Copy link
Owner

olets commented May 15, 2024

This slipped through the cracks!

Nice idea. I've added support for something very similar: if you run with sudo, the window title shows sudo <second word>.

That's in the latest release, in the main branch, and on Homebrew

Thanks for your patience

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

No branches or pull requests

2 participants