source ~/.homectl/common/shell-boot/functions.sh
homectl-run-hooks rc

if which hc >/dev/null 2>/dev/null; then
    source ~/.homectl/common/shell-boot/functions.sh
else
    source ~/.homectl/common/shell-boot/profile.sh
fi
homectl-run-hooks rc

Make sure homectl is available in non-login shells
shell-boot: Make sure homectl is available in non-login shells

Check for and load the profile if the 'hc' command can't be found.
