On Tue, Oct 24, 2023 at 12:23 PM Jim <linux.tech.guy@xxxxxxxxx> wrote:
You can get around this with ${(e):-\${DirPath:h$N}}
The documentation for :t is being a bit too literal. More accurate
would be to say that 0 is always the same as having no digit at all.