1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-02-21 01:40:40 +08:00
Marc Cornellà 68425c266a extract: replace basename&sed w/ zsh variable expansion syntax
`${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
2016-09-30 00:38:03 +02:00
..
2016-09-29 14:05:21 +02:00