holman / holman/dotfiles

zsh/config.zsh INC_APPEND_HISTORY and SHARE_HISTORY

Open
#283 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
7.8k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

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).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read zsh/config.zsh at the referenced lines 18 and 26, then compare the settings with the linked Zsh manual entry for SHARE_HISTORY. Done means the configuration no longer repeats SHARE_HISTORY or enables it alongside the incompatible INC_APPEND_HISTORY option.

Written by the indexing model from the issue text.

Assessment

Tech stack
zsh
Domain
cli
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.