Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: why is the - modifier useful
- X-seq: zsh-users 30292
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: why is the - modifier useful
- Date: Tue, 1 Jul 2025 10:52:06 +0100 (BST)
- Archived-at: <https://zsh.org/users/30292>
- Feedback-id: 20250701-p.w.stephenson@xxxxxxxxxxxx:oxsmtp-prd-nl-vmo:Authrelay:p.w.stephenson@xxxxxxxxxxxx
- Importance: Normal
- In-reply-to: <aGObvs97RRMAnAQ-@prometheus>
- List-id: <zsh-users.zsh.org>
- References: <aGObvs97RRMAnAQ-@prometheus>
> 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