(Bash) Add lazy initialization of try command. (#5179)

* (Bash) Add lazy initialization of `try` and `mise` commands.

* (Bash) Removed lazy-loading for `mise`
This commit is contained in:
innerviewer
2026-04-22 14:02:53 +02:00
committed by GitHub
parent bde1537f6e
commit b275ec50be
+5 -1
View File
@@ -11,7 +11,11 @@ if command -v zoxide &> /dev/null; then
fi
if command -v try &> /dev/null; then
eval "$(SHELL=/bin/bash command try init ~/Work/tries)"
try() {
unset -f try
eval "$(SHELL=/bin/bash command try init ~/Work/tries)"
try "$@"
}
fi
if command -v fzf &> /dev/null; then