dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

zsh/config.zsh INC_APPEND_HISTORY and SHARE_HISTORY

Open CNG opened this issue 8 years ago • 1 comments

The lines https://github.com/holman/dotfiles/blob/master/zsh/config.zsh#L18 and https://github.com/holman/dotfiles/blob/master/zsh/config.zsh#L26 seem to specify incompatible options. The second line also repeats SHARE_HISTORY.

From The Z Shell Manual:

SHARE_HISTORY <K>

This option both imports new commands from the history file, and also causes your typed commands to be appended to the history file (the latter is like specifying INC_APPEND_HISTORY, which should be turned off if this option is in effect).

CNG avatar Apr 30 '17 05:04 CNG

I think APPEND_HISTORY is also redundant if INC_APPEND_HISTORY is set.

CNG avatar Apr 30 '17 05:04 CNG