ZSH iterm2 increase number of lines history

后端 未结 3 1479
耶瑟儿~
耶瑟儿~ 2021-01-30 05:15

Not sure if this is zsh, iterm2 or the interaction between them. Trying to change the number of recallable lines in the terminal - not the command history, the output history.

3条回答
  •  野性不改
    2021-01-30 05:39

    It's not immediately obvious in the iTerm2 documentation on how to change it.

    • open the iTerm2 preferences + ,
    • select the Profiles tab
    • then select the Terminal subtab
    • Beware, changes to the Scrollback lines value take effect immediately so check Unlimited scrollback now if you don't want to delete your current buffer(s)
    • change the value of the Scrollback Lines to whatever you'd like
    • Uncheck the Unlimited scrollback option if you'd like to use your Scrollback lines value

提交回复
热议问题