`status --current-function` is not a thing.
status dirname
status basename
There's a terrible number of fishscripts that start with set path (dirname (status filename)) And that's really just a bit boring. So let's let it be set path (status dirname)