This commit is contained in:
Ray Elliott 2026-10-27 13:13:37 +00:00
commit ea76cc9ef2
7 changed files with 208 additions and 173 deletions

20
interactive.sh Normal file
View file

@ -0,0 +1,20 @@
#!/bin/sh
# Shared interactive setup for POSIX-compatible shells.
_profile_interactive_dir=${XDG_CONFIG_HOME:-$HOME/.config}/profile
. "$_profile_interactive_dir/aliases.sh"
. "$_profile_interactive_dir/commands.sh"
. "$_profile_interactive_dir/hosts.sh"
if [ -r /etc/arch-release ]; then
. "$_profile_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 _profile_interactive_dir