23 lines
463 B
Bash
23 lines
463 B
Bash
#
|
|
# ~/.bashrc
|
|
#
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
# Load files from rc.d
|
|
if [ -d $XDG_CONFIG_HOME/shell/rc.d ]; then
|
|
for file in $XDG_CONFIG_HOME/shell/rc.d/*.sh; do
|
|
source $file
|
|
done
|
|
fi
|
|
|
|
# Load files from bashrc.d
|
|
if [ -d $XDG_CONFIG_HOME/shell/bashrc.d ]; then
|
|
for file in $XDG_CONFIG_HOME/shell/bashrc.d/*.bash; do
|
|
source $file
|
|
done
|
|
fi
|
|
|
|
alias ls='ls --color=auto'
|
|
PS1='[\u@\h \W]\$ '
|