Guard Docker init scripts with existence checks

Prevents errors when Docker Desktop is not installed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Eric Wagoner
2026-03-03 09:26:37 -05:00
parent ae364ba61b
commit 42fa784644
3 changed files with 7 additions and 6 deletions

View File

@@ -1 +1 @@
source "$HOME/.docker/init-bash.sh" || true # Added by Docker Desktop
[[ -f "$HOME/.docker/init-bash.sh" ]] && source "$HOME/.docker/init-bash.sh"