Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Newbie zsh setup warts (history, pipes, export, ...).
- X-seq: zsh-users 8107
- From: Clint Adams <clint@xxxxxxx>
- To: "s. keeling" <keeling@xxxxxxxxxxx>
- Subject: Re: Newbie zsh setup warts (history, pipes, export, ...).
- Date: Sun, 24 Oct 2004 20:05:51 -0400
- Cc: zsh-users <zsh-users@xxxxxxxxxx>
- In-reply-to: <20041024230623.GA3675@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20041024230623.GA3675@xxxxxxxxxxxxxxxxxxx>
> "set | less" works. What's wrong with the grep?
grep is probably seeing the NUL character in IFS, and assuming.
that the input is "binary". Since you're using GNU grep, you can
specify "grep -a" to override this assumption.
> HISTCONTROL=ignoredups
> HISTFILE=$HOME/.zsh_history
> HISTSIZE=2000
> setopt HIST_EXPIRE_DUPS_FIRST
> setopt APPEND_HISTORY
> setopt hist_verify
> setopt extended_history
You're missing SAVEHIST.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author