feat: Implement SKIP_OLLAMA feature for optional setup without Ollama installation and add documentation

refactor: Enhance .profile for Go path management and environment variable setup
This commit is contained in:
Peter Wood
2025-05-30 17:34:05 -04:00
parent bdda278408
commit 696f91e928
5 changed files with 200 additions and 10 deletions

View File

@@ -49,8 +49,12 @@ if [ -d "$HOME/go/bin" ] ; then
fi
# Add Go version-specific paths if they exist
shopt -s nullglob 2>/dev/null || setopt nullglob 2>/dev/null || true
for go_path in /usr/lib/go-*/bin /usr/lib/go/bin; do
if [ -d "$go_path" ] ; then
PATH="$go_path:$PATH"
fi
done
shopt -u nullglob 2>/dev/null || unsetopt nullglob 2>/dev/null || true
export GOROOT=/usr/local/go