mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
Merge pull request #1106 from mitchellh/macos-zsh
macos: do not load zsh config on the outer zsh launch
This commit is contained in:
@ -881,7 +881,14 @@ const Subprocess = struct {
|
||||
if (hush) try args.append("-q");
|
||||
try args.append("-flp");
|
||||
try args.append(username);
|
||||
|
||||
// We execute zsh with "-d -f" so that it doesn't load any
|
||||
// local zshrc files so that (1) our shell integration doesn't
|
||||
// break and (2) user configuration doesn't mess this process
|
||||
// up.
|
||||
try args.append("/bin/zsh");
|
||||
try args.append("-d");
|
||||
try args.append("-f");
|
||||
try args.append("-c");
|
||||
try args.append(cmd);
|
||||
break :args try args.toOwnedSlice();
|
||||
|
Reference in New Issue
Block a user