mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 08:13:44 +01:00
Shell: supports brush version detection
This commit is contained in:
@@ -294,6 +294,8 @@ bool fftsGetShellVersion(FFstrbuf* exe, const char* exeName, FFstrbuf* exePath,
|
||||
return getShellVersionAsh(exe, version);
|
||||
if(ffStrEqualsIgnCase(exeName, "xonsh"))
|
||||
return getShellVersionXonsh(exe, version);
|
||||
if(ffStrEqualsIgnCase(exeName, "brush"))
|
||||
return getExeVersionGeneral(exe, version); // brush 0.2.23 (git:2835487)
|
||||
|
||||
#ifdef _WIN32
|
||||
if(ffStrEqualsIgnCase(exeName, "powershell") || ffStrEqualsIgnCase(exeName, "powershell_ise"))
|
||||
|
||||
Reference in New Issue
Block a user