zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: Cavallucci Laura <laura.cllucci@gmail.com>, zsh-workers@zsh.org
Subject: Re: Bug Zshenv
Date: Wed, 6 Jan 2021 11:51:29 +0000 (GMT)	[thread overview]
Message-ID: <1006912711.2720690.1609933889061@mail2.virginmedia.com> (raw)
In-Reply-To: <CADQDyL-60vA_MLKUwvhCJhFXwP2+X9BH+20YWAA9Hzay1f6TmQ@mail.gmail.com>

> On 06 January 2021 at 11:20 Cavallucci Laura <laura.cllucci@gmail.com> wrote:
> I just install Zsh a few days ago and this appears :
> "/etc/zsh/zshenv:19: command not found: es
> grep: Avertissement : GREP_OPTIONS doit être abandonnée ; veuillez utiliser
> un alias ou un script"

This should really be on the zsh-users list; it's not an internal zsh issue
but a usage issue, i.e. to do with how code that runs under zsh is written.
 
> *Here's my Zshenv :*
>...
> if [[ -z "$PATH" || "$PATH" == "/bin:/usr/bin" ]]
> then
> export PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
> fi
> es crées
> umask 022
>...

(I've stripped this down, leaving a little bit of context before and after.)
That line running the command "es" to me looks very strange, like it shouldn't
be there; possibly it's a bit of a comment that hasn't been edited out.

There *might* be a command "es" on your system but the fact the argument
is an unquoted, accented word suggests the line is bogus.  I'd suggest
simply commenting it out or removing it (as superuser).

I don't know what grep's objection to GREP_OPTIONS is (it's nothing to
do with zsh), but you can remove that error by commenting out the line

> export GREP_OPTIONS='--color=auto' 

later on.  The suggestion you're getting from grep is basically equivalent
to replacing that line with

alias grep='grep --color=auto'

so you could do that instead.

pws


  reply	other threads:[~2021-01-06 11:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 11:20 Cavallucci Laura
2021-01-06 11:51 ` Peter Stephenson [this message]
2021-01-06 12:25 ` Andreas Kusalananda Kähäri

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=1006912711.2720690.1609933889061@mail2.virginmedia.com \
    --to=p.w.stephenson@ntlworld.com \
    --cc=laura.cllucci@gmail.com \
    --cc=zsh-workers@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).