thanks will go with this for now Il giorno mer 22 apr 2020 alle 20:14 Bart Schaefer < schaefer@brasslantern.com> ha scritto: > On Wed, Apr 22, 2020 at 10:54 AM Pier Paolo Grassi > wrote: > > > > so it's a bug in that version? this is the zsh that comes with ubuntu > xenial > > It's intentional behavior; the newer version provides an alternate > behavior that is closer to what you want. > > The workaround in older versions of zsh is to use a dummy array > variable: ${${(As: :)dummy::=$line}[1]} > -- Pier Paolo Grassi