ZSH iterm2增加行数历史记录 [英] ZSH iterm2 increase number of lines history

查看:1341
本文介绍了ZSH iterm2增加行数历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不确定这是zsh,iterm2还是它们之间的相互作用. 尝试更改终端中可调用的行数-而不是命令历史记录,而不是输出历史记录.

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.

在.zshrc中,我有:

In .zshrc I have :

HISTFILE=~/.histfile
HISTSIZE=100000
SAVEHIST=100000

这似乎被忽略=(

不确定Google是否使用正确的术语端子输出历史记录?"

Not sure of the correct term to google, "Terminal output history?"

推荐答案

iTerm2文档中,这并不是立即显而易见的有关如何进行更改.

  • 打开iTerm2首选项 +
  • 选择个人资料标签
  • 然后选择 Terminal 子标签
  • 请注意,对Scrollback lines值的更改将立即生效,因此如果您不想删除当前缓冲区,请立即检查Unlimited scrollback
  • Scrollback Lines的值更改为所需的值
  • 如果要使用Scrollback lines值,请取消选中Unlimited scrollback选项
  • 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

这篇关于ZSH iterm2增加行数历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆