diff options
author | Marc Cornellà <marc.cornella@live.com> | 2016-09-29 13:26:50 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2016-09-30 00:38:03 +0200 |
commit | 68425c266a5107e50a2897b7d7cfc0ccb9fb753c (patch) | |
tree | 1589502d7db5202ee4b821ffb4206d3a5bd98097 /lib/termsupport.zsh | |
parent | f12cb5a697ca45b3ef8acda24cef72fe041addb3 (diff) | |
download | zsh-68425c266a5107e50a2897b7d7cfc0ccb9fb753c.tar.gz zsh-68425c266a5107e50a2897b7d7cfc0ccb9fb753c.tar.bz2 zsh-68425c266a5107e50a2897b7d7cfc0ccb9fb753c.zip |
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
Diffstat (limited to 'lib/termsupport.zsh')
0 files changed, 0 insertions, 0 deletions