From: Eric Cook <llua@gmx.com>
To: zsh-users@zsh.org
Subject: Re: command name '-'
Date: Sun, 08 Feb 2015 12:55:07 -0500 [thread overview]
Message-ID: <54D7A2FB.6010608@gmx.com> (raw)
In-Reply-To: <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 - -
next prev parent reply other threads:[~2015-02-08 17:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-08 17:48 Daniel
2015-02-08 17:55 ` Eric Cook [this message]
2015-02-08 18:38 ` Daniel
2015-02-09 9:40 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54D7A2FB.6010608@gmx.com \
--to=llua@gmx.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).