Powerlevel9k / powerlevel9k

Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
https://github.com/romkatv/powerlevel10k
MIT License
13.46k stars 949 forks source link

history command times bug #1383

Open RokasUrbelis opened 4 years ago

RokasUrbelis commented 4 years ago

When the number of commands reaches 10001, it will return to this number every time it is reconnected

image

romkatv commented 4 years ago

It shows the number of commands in history. When your history gets truncated, the number goes down.

RokasUrbelis commented 4 years ago

how to fix it, modify HISTSIZE not work

Syphdias commented 4 years ago

You will probably need to increase your HISTFILESIZE as well.

From: https://kevinjalbert.com/more-shell-history/

  • HISTSIZE indicates how many commands from your history file are loaded into the shell’s memory
  • SAVEHIST/HISTFILESIZE indicates how many commands your history file can hold (you want this equal or larger than HISTSIZE)