zimfw / environment

Sets generic Zsh built-in environment options.
MIT License
12 stars 4 forks source link

Set values of HISTSIZE and SAVEHIST unconditionally #4

Closed antoineco closed 3 years ago

antoineco commented 3 years ago

Fixes #3

HISTSIZE and SAVEHIST being special variables, their value is always set by Zsh. Therefore, the parameter expansion caused Zim's values to never be assigned.

Partially reverts commit 4293dd8059b1635398fb0da310da3d3399cd49b7

ericbn commented 3 years ago

I should have paid more attention before doing this change. Thanks for the PR!

antoineco commented 3 years ago

Note: this same approach is used both in prezto and ohmyzsh.