mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 22:59:51 +00:00
`${var:t:h}` uses:
- `${var:t}` which acts as `basename`.
- `${var:r}` which removes the extension.
See http://zsh.sourceforge.net/Doc/Release/Expansion.html#Modifiers