i promised ages ago to document this and then i never did lmao
here is a dump of my ~/.profile, which makes e.g. cargo build act as if you'd run cargo mommy build
# mommy loves you~
cargo() {
case "$1" in
+*) toolchain=$1
shift
command cargo "$toolchain" mommy "$@"
;;
*) command cargo mommy "$@";;
esac
}