Either by checking environment variables, or by configuration, afpre should figure out when it should open a fish shell rather than a bash. Note that fish has a [slightly different syntax](https://fishshell.com/docs/current/index.html).