mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-19 07:38:28 +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