if (( $+commands[tag] )); then
  tag() {
    trap 'source /tmp/tag_aliases 2>/dev/null' SIGINT
    command tag "$@" && source /tmp/tag_aliases 2>/dev/null
    trap - SIGINT
  }
  alias s="tag rg"
  alias fd="tag fd"
  alias find="tag find"
else
  alias s=rg
fi

alias ag="echo 'use s'"
alias rg="echo 'use s'"

if (( $+commands[tag] )); then
  tag() {
    trap 'source /tmp/tag_aliases 2>/dev/null' SIGINT
    command tag "$@" && source /tmp/tag_aliases 2>/dev/null
    trap - SIGINT
  }
  alias s="tag rg"
  alias fd="tag fd"
  alias find="tag find"
else
  alias s=rg
fi

Remove rg / ag training wheels
Remove rg / ag training wheels

I have successfully trained myself to do this
