Skip to content

Commit 8d4f687

Browse files
authored
Add 'sh' to list of shell programs
1 parent 9685a0c commit 8d4f687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

winfetch.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ function info_resolution {
657657
# ===== TERMINAL =====
658658
# this section works by getting the parent processes of the current powershell instance.
659659
function info_terminal {
660-
$programs = 'powershell', 'pwsh', 'winpty-agent', 'cmd', 'zsh', 'bash', 'fish', 'env', 'nu', 'elvish', 'csh', 'tcsh', 'python', 'xonsh'
660+
$programs = 'powershell', 'pwsh', 'winpty-agent', 'cmd', 'zsh', 'sh', 'bash', 'fish', 'env', 'nu', 'elvish', 'csh', 'tcsh', 'python', 'xonsh'
661661
if ($PSVersionTable.PSEdition.ToString() -ne 'Core') {
662662
$parent = Get-Process -Id (Get-CimInstance -ClassName Win32_Process -Filter "ProcessId = $PID" -Property ParentProcessId -CimSession $cimSession).ParentProcessId -ErrorAction Ignore
663663
for () {

0 commit comments

Comments
 (0)