Skip to content

Improve WSL Comfort zsh history and command-not-found integration - #76

Merged
AmirMS (AmelBawa-msft) merged 2 commits into
microsoft:mainfrom
Rukkhadevata123:user/yoimiya/zsh
Jun 16, 2026
Merged

Improve WSL Comfort zsh history and command-not-found integration#76
AmirMS (AmelBawa-msft) merged 2 commits into
microsoft:mainfrom
Rukkhadevata123:user/yoimiya/zsh

Conversation

@Rukkhadevata123

Copy link
Copy Markdown
Contributor

Enhances the Zsh experience.

Shell configuration improvements:

  • Added persistent Zsh history settings to ensure command history is saved across sessions, increases history size, and avoids duplicate entries (.zsh_history, HISTSIZE, SAVEHIST, appendhistory, hist_ignore_all_dups).
  • Enabled history search by prefix using Up/Down arrows, making it easier to recall previous commands that start with the same prefix (autoloads up-line-or-beginning-search and down-line-or-beginning-search, binds them to arrow keys).

Documentation update:

  • Updated the Shell config section in readme.md to document the new persistent history and improved keybindings, including Up/Down history search by prefix and duplicate suppression.
@Rukkhadevata123 Yoimiya (Rukkhadevata123) changed the title Enhance zsh history behavior for WSL comfort Jun 14, 2026
@AmelBawa-msft
AmirMS (AmelBawa-msft) merged commit bba7ea6 into microsoft:main Jun 16, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants