Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: why is the - modifier useful



> On 01/07/2025 09:26 BST Marc Chantreux <mc@xxxxxxxxxx> wrote:
> then I realize this custom came for reason: - is already a
> builtin which seems really useless to me:

It's not very useful.  The convention used to be any command starting
with a "-" was a login shell, so you could start up your own command and
anything that cared would notice.  I'm not aware of anything that still
cares.

You're unlikely to encounter problems if you use it for something else.

pws




Messages sorted by: Reverse Date, Date, Thread, Author