From: "s. keeling" <keeling@spots.ab.ca>
To: zsh-users <zsh-users@sunsite.dk>
Subject: Re: Newbie zsh setup warts (history, pipes, export, ...).
Date: Sun, 24 Oct 2004 19:35:43 -0600 [thread overview]
Message-ID: <20041025013543.GA4558@infidel.spots.ab.ca> (raw)
In-Reply-To: <20041025000551.GA21212@scowler.net> <20041024232633.GB9382@lorien.comfychair.org>
Incoming from Danek Duvall:
> > I'm uset to doing "set | grep -i blah" but in zsh that produces:
> >
> > Binary file (standard input) matches
>
> Probably because IFS contains a NUL character (and you're using GNU grep).
> You could use the -a option to grep to force it to assume the input is
Thanks. That works.
> > HISTCONTROL=ignoredups
>
> No idea what this is; someone else might answer.
It could be a holdover from bash.
> > HISTFILE=$HOME/.zsh_history
> > HISTSIZE=2000
>
> You also need SAVEHIST=xxx. HISTSIZE is the size of the history any zsh
Ah! Marvy. I'll test that out.
> > export HISTCONTROL \
>
> No, you shouldn't need to do that; they're shell variables, not environment
> variables, and so don't need to be exported. I assume, but I'm not sure,
> that if you export them, subshells will pick up those values. But my .z*
I'm not sure I understand the distinction between shell and env. vars,
but usually yes, exporting them makes them available to sub/child
processes. At least that's what they're for in sh and bash.
Thanks everyone.
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling
- -
next prev parent reply other threads:[~2004-10-25 1:36 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-24 23:06 s. keeling
2004-10-25 0:05 ` Clint Adams
[not found] ` <20041024232633.GB9382@lorien.comfychair.org>
2004-10-25 1:35 ` s. keeling [this message]
2004-10-25 10:19 ` Oliver Kiddle
2004-10-25 1:11 ` Bart Schaefer
2004-10-25 6:08 ` Wayne Davison
2004-10-25 16:25 ` s. keeling
2004-10-25 18:52 ` Juhapekka Tolvanen
2004-10-25 19:16 ` Jason Price
2004-10-26 3:57 ` s. keeling
2004-10-26 4:15 ` [ION Info #SZW-77636-264]: " s. keeling
2004-10-26 8:46 ` Olivier Tharan
2004-10-26 11:48 ` Nikolai Weibull
2004-10-26 15:16 ` s. keeling
2004-10-26 15:54 ` Nikolai Weibull
2004-10-26 16:27 ` Bart Schaefer
2004-10-26 17:45 ` Nikolai Weibull
2004-10-26 18:00 ` s. keeling
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=20041025013543.GA4558@infidel.spots.ab.ca \
--to=keeling@spots.ab.ca \
--cc=zsh-users@sunsite.dk \
/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).