From ea14de4c377f12d3d94dfeba15b39b86416caeab Mon Sep 17 00:00:00 2001 From: Nate Stott Date: Thu, 19 Feb 2026 04:36:04 -0700 Subject: [PATCH] Fix try init in bash when launched from fish shell (#4640) The try command detects shell type from $SHELL variable. When bash is launched from fish, $SHELL is still set to /usr/bin/fish, causing try to output fish syntax which fails in bash with syntax errors. Explicitly set SHELL=/bin/bash for the try init call to ensure correct shell detection. --- default/bash/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default/bash/init b/default/bash/init index dba369e0..6ae94284 100644 --- a/default/bash/init +++ b/default/bash/init @@ -14,7 +14,7 @@ if command -v zoxide &> /dev/null; then fi if command -v try &> /dev/null; then - eval "$(try init ~/Work/tries)" + eval "$(SHELL=/bin/bash try init ~/Work/tries)" fi if command -v fzf &> /dev/null; then