diff options
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +# .bashrc +# Source global definitions +[ -f /etc/bashrc ] && . /etc/bashrc + +# User-specific PATH +case ":$PATH:" in + *":$HOME/.local/bin:"*|*":$HOME/bin:"*) ;; + *) PATH="$HOME/.local/bin:$HOME/bin:$PATH" ;; +esac +export PATH + +# Load modular bash configs +if [ -d "$HOME/.bashrc.d" ]; then + for rc in "$HOME/.bashrc.d"/*.bashrc; do + [ -f "$rc" ] && . "$rc" + done +fi +unset rc |
