mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-11-05 05:51:17 +08: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