#!/hint/bash # ~/.bashrc: Sourced by bash(1) for interactive non-login shells # # I include this file for all interactive invocations of bash(1), whether # they are login shells or not. # If not running interactively, don't do anything # This line is probably not nescessary, but whatevs. [[ $- == *i* ]] || return # GDM failsafe ignores profile (login) settings, but I use XDG stuff # here. . "${XDG_CONFIG_HOME:-$HOME/.config}"/login.d/??_xdg.sh # Include modular config files if [[ -d ${XDG_CONFIG_HOME}/bash/rc.d ]]; then for file in "${XDG_CONFIG_HOME}/bash/rc.d"/*.sh; do . "$file" done fi