Skip to content

Commit ff28f58

Browse files
committed
Shell: supports brush version detection
1 parent 6a31736 commit ff28f58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/detection/terminalshell/terminalshell.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ bool fftsGetShellVersion(FFstrbuf* exe, const char* exeName, FFstrbuf* exePath,
294294
return getShellVersionAsh(exe, version);
295295
if(ffStrEqualsIgnCase(exeName, "xonsh"))
296296
return getShellVersionXonsh(exe, version);
297+
if(ffStrEqualsIgnCase(exeName, "brush"))
298+
return getExeVersionGeneral(exe, version); // brush 0.2.23 (git:2835487)
297299

298300
#ifdef _WIN32
299301
if(ffStrEqualsIgnCase(exeName, "powershell") || ffStrEqualsIgnCase(exeName, "powershell_ise"))

0 commit comments

Comments
 (0)