dotfiles/.bashrc
Alexander Hess a89c4955c5
Add base configuration
- Follow XDG standard: ~/.config and ~/.local folders
- Set environment variables and define aliases within ~/.config/shell
- Add installation script for easy setup and maintenance
  (i.e., `dotfiles-install` and `dotfiles-update`)
- Add README.md with info on the installation and general notes
2026-09-22 11:59:28 +02:00

14 lines
409 B
Shell

#!/bin/bash
# `bash`-specific configurations
# Prevent running this file twice, as a non-login `bash` enters here,
# sources ~/.profile, and ~/.profile sources this file again
[ -n "$BASHRC_LOADED" ] && return
BASHRC_LOADED=1
# Load configuration files common to all kinds of shells,
# if not already done by a `bash` login shell
[ -z "$PROFILE_LOADED" ] && [ -f "$HOME/.profile" ] && . "$HOME/.profile"