dirname
dirnamePrint the directory portion of a pathname.
Runs as
dirname|macOS, Linux, WindowsPrint the directory portion of a pathname.
dirname|macOS, Linux, WindowsStrips the last path component from each name.
namesstring · positional 0 · repeatablefigcompletionBefore it fills your prompt, Otty checks the installed dirname against its version. A form that does not match your version is not offered.