forked from extern/nushell
* Add new path commands basename, expand and extension. Currently there is no real error handling. expand returns the initial path if it didn't work, the others return empty string * Optionally apply to path
* Add new path commands basename, expand and extension. Currently there is no real error handling. expand returns the initial path if it didn't work, the others return empty string * Optionally apply to path