echo "=== interactive login bash ==="
echo "shell=$SHELL"
echo "PATH=$PATH"
type rm || true
alias rm || true
declare -f rm | sed -n "1,220p" || true
which -a rm || true
printf "=== search /etc + home ===\n"
rg -n "alias rm=|function rm|rm\(\)|trash|safe.*rm|mv .*\\.trash|/bin/rm|command rm" \
  ~/.bashrc ~/.bash_profile ~/.profile ~/.bash_login ~/.config \
  /etc/bash.bashrc /etc/profile /etc/profile.d /etc/skel 2>/dev/null || true
