config-files/bash/.bash_profile

22 lines
662 B
Bash

# .bash_profile
# In alcuni sistemi Unix-like, tra cui macOS, le impostazioni di ogni shell bash, di default, vengono salvate e lette dal file '~/.bash_profile'
# Source '~/.bashrc' if it exists
# Legge il file '~/.bashrc', specifico per ogni utente
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# The dot (.) command is a synonym for the source command
# User specific environment and startup programs
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
export PATH