Skip to content

Commit 2453038

Browse files
committed
🐛 Fixed issue with gss function when g3l was not installed
1 parent 8b3a994 commit 2453038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pwsh/functions.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ function gss {
244244
Get-GitStatus
245245
# Git branch status
246246
# Write-BoldGreen "Local Branches"
247-
g3l --status
247+
if (which g3l) { g3l --status }
248248
# Write-BoldGreen "Remote Branches"
249249
# gbs --remotes
250250
}

0 commit comments

Comments
 (0)