mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-23 00:29:50 +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