#!/usr/bin/env bash # # ~/.bash_profile - bash login script. # # (C) Bruno Raoult ("br"), 2024 # Licensed under the GNU General Public License v3.0 or later. # Some rights reserved. See COPYING. # # You should have received a copy of the GNU General Public License along with this # program. If not, see . # # For login shells, ~/.profile is executed. Debian default one does: # 1) source .bashrc if it exists # 2) add "$HOME"/bin in PATH # This imply a duplicate "$HOME/bin" in PATH, as we do everything in .bashrc.$user. # Having this ~/.bash_profile will avoid the execution of ~/.profile # shellcheck disable=SC1091 [ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"