Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Newbie zsh setup warts (history, pipes, export, ...).



> "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