Re: why is the - modifier useful

Peter Stephenson <[email protected]>
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <[email protected]>
> On 01/07/2025 09:26 BST Marc Chantreux <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.