Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: command name '-'
- X-seq: zsh-users 19834
- From: Eric Cook <llua@xxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: command name '-'
- Date: Sun, 08 Feb 2015 12:55:07 -0500
- In-reply-to: <mb87i2$5q2$1@ger.gmane.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <mb87i2$5q2$1@ger.gmane.org>
On 02/08/2015 12:48 PM, Daniel wrote:
> I have in my ~/bin, which is in PATH, a command named simply '-' [minus]. I
> can't seem to have this one executed. Typing - at the prompt and nothing
> happens. Also, whence or type yiels exactly nothing. What gives?
>
> I like to have + and - commands for changing volume easily in console, over
> ssh, however...
>
- and -- act as end of options for a lot of builtin commands, including
whence. so you want: whence - -
`-' is a precommand modifier that you can read about in zshbuiltins, but
you can disable it using the `disable' builtin.
Again using: disable - -
Messages sorted by:
Reverse Date,
Date,
Thread,
Author