fix(bashrc): add ~/.local/bin to PATH in deployed bashrc

The bin/ scripts and pipx CLIs land in ~/.local/bin, which was not on
PATH in either deployed bashrc. Add an idempotent PATH guard to
bashrc-linux and bashrc-osx so dt, claude-provider, pymupdf, etc. are
found after login. Update the install.sh and README notes to match.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bastien Chanot
2026-05-27 18:56:56 +02:00
co-authored by Claude Opus 4.7
parent 942aa8b36b
commit 262862c1b9
4 changed files with 14 additions and 2 deletions
+6
View File
@@ -18,6 +18,12 @@ alias clean='sh ~/.script/clean.sh'
# colored GCC warnings and errors
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# Ensure ~/.local/bin is on PATH (pipx CLIs + personal scripts from bin/)
case ":$PATH:" in
*":$HOME/.local/bin:"*) ;;
*) export PATH="$HOME/.local/bin:$PATH" ;;
esac
# Used for vim header
export VIUSER=xuser
export VIMAIL=xuser@student.42.fr