install.fairie/dotfiles/.local/share/chezmoi/home/dot_bash_profile

17 lines
431 B
Text
Raw Normal View History

# Prefer US English
export LANG="en_US"
# Detect support for advanced terminal features
if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then
export BASH_SUPPORT=true
fi
# Ensure scripts in ~/.local/bin are executable
find "$HOME/.local/bin" -maxdepth 1 -type f ! -executable | while read LOCAL_BIN_FILE; do
chmod +x "$LOCAL_BIN_FILE"
done
export PATH="$PATH:$HOME/.local/bin"
# Source the main Bash config
. "$HOME/.bashrc"