mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-09 03:16:33 +00:00
add sudo wrapper as optional shell integration feature
This commit is contained in:
@@ -49,6 +49,7 @@ pub fn setup(
|
||||
|
||||
// Setup our feature env vars
|
||||
if (!features.cursor) try env.put("GHOSTTY_SHELL_INTEGRATION_NO_CURSOR", "1");
|
||||
if (!features.sudo) try env.put("GHOSTTY_SHELL_INTEGRATION_NO_SUDO", "1");
|
||||
|
||||
return shell;
|
||||
}
|
||||
|
Reference in New Issue
Block a user