From e6489026839d120e274b0673631c4606459397c8 Mon Sep 17 00:00:00 2001 From: David Guttman Date: Tue, 3 Mar 2026 17:24:43 -0800 Subject: [PATCH] Fix try interactive selector appearing on bashrc re-source (#4877) `try init` defines a shell function named `try`. On subsequent `source ~/.bashrc`, `try init` calls the function (interactive selector) instead of the binary. Adding `command` bypasses the function and always calls the binary. Fixes #4876 Co-authored-by: Claude Opus 4.6 --- default/bash/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default/bash/init b/default/bash/init index 1c40f6c1..4c5e6e39 100644 --- a/default/bash/init +++ b/default/bash/init @@ -11,7 +11,7 @@ if command -v zoxide &> /dev/null; then fi if command -v try &> /dev/null; then - eval "$(SHELL=/bin/bash try init ~/Work/tries)" + eval "$(SHELL=/bin/bash command try init ~/Work/tries)" fi if command -v fzf &> /dev/null; then