20 lines
507 B
Bash
20 lines
507 B
Bash
#!/bin/sh
|
|
|
|
# Interactive Bash setup assembled from focused, mostly portable files.
|
|
|
|
_bash_interactive_dir=${XDG_CONFIG_HOME:-$HOME/.config}/bash
|
|
|
|
. "$_bash_interactive_dir/aliases.sh"
|
|
. "$_bash_interactive_dir/commands.sh"
|
|
. "$_bash_interactive_dir/hosts.sh"
|
|
|
|
if [ -r /etc/arch-release ]; then
|
|
. "$_bash_interactive_dir/platform/arch.sh"
|
|
fi
|
|
|
|
printf '%s\n' 'Remember aliases:'
|
|
printf '\033[1;37m%s\n' ' et en ens ee'
|
|
printf '%s\n' ' dusort debuglog mkcd'
|
|
printf '\033[0m\n\n'
|
|
|
|
unset _bash_interactive_dir
|