Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: "the backslashes" Re: Dynamic directory name function
On Sep 24, 5:10pm, Peter Stephenson wrote:
}
} > zstyle ZDN_wrapper_name zdn_top=(
} > g ~/git
} > ga ~/alternate/git
} > gs /scratch/$USER/git/:second2
} > :default: /:second1
} > )
}
} That can be made vaild syntax by a bit (?lot?) of trickery with reserved
} words, but what does it mean, and what gets passed to the command?
It means exactly the same thing that writing it now without the equal
sign and parens means; it's merely syntactic sugar so you don't have
to use backslash-continuation to spread it across multiple lines.
Whether it gets exploded out into an ordinary argv before being passed
to bin_zstyle, or comes in as some other structure that bin_zstyle
itself unpacks, is an implementation detail for module, I'd expect.
No matter, was just a thought I threw out.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author