Skip to content

Commit ddd704f

Browse files
committed
fix: use kill all for ghostty
1 parent f1dbe1c commit ddd704f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/target.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ impl Target {
9090
// SIGUSR2 to reload ghostty config.
9191
// Refer to https://github.com/ghostty-org/ghostty/issues/7747.
9292
Self::Ghostty => {
93-
let _ = Command::new("pkill")
94-
.args(["-USR2", "-x", "ghostty"])
95-
.status();
93+
let _ = Command::new("killall").args(["-USR2", "ghostty"]).status();
9694
}
9795
// SIGUSR1 to reload helix config
9896
// Refer to https://github.com/helix-editor/helix/issues/2158#issuecomment-1910775800

0 commit comments

Comments
 (0)