Protect against missing/uninstalled tools

This commit is contained in:
David Heinemeier Hansson
2024-06-14 12:53:52 +02:00
parent da447a261e
commit eef3742c4d

View File

@@ -2,5 +2,10 @@ if command -v mise &> /dev/null; then
eval "$(mise activate bash)"
fi
eval "$(zoxide init bash)"
source /usr/share/doc/fzf/examples/key-bindings.bash
if command -v zoxide &> /dev/null; then
eval "$(zoxide init bash)"
fi
if command -v fzf &> /dev/null; then
source /usr/share/doc/fzf/examples/key-bindings.bash
fi