`emit` is already a [command in fish](https://fishshell.com/docs/current/cmds/emit.html). ```fish alias emit (which emit) ``` seems to be a suitable workaround