Skip to content

Commit cae4b1c

Browse files
5oumaCarterLi
authored andcommitted
chore(terminalshell_linux.c): Ignore cwterm as well as figterm
Since CodeWhisperer overrides the terminal environment.
1 parent bb489f9 commit cae4b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/terminalshell/terminalshell_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ static void getTerminalShell(FFTerminalShellResult* result, pid_t pid)
181181

182182
#ifdef __APPLE__
183183
// https://github.com/fastfetch-cli/fastfetch/discussions/501
184-
if (ffStrEndsWith(name, " (figterm)"))
184+
if (ffStrEndsWith(name, " (figterm)") || ffStrEndsWith(name, " (cwterm)"))
185185
getProcessNameAndPpid(ppid, name, &ppid);
186186
#endif
187187

0 commit comments

Comments
 (0)