How much history will be saved in iTerm2 Shell Integration's Toolbelt?

本秂侑毒 提交于 2019-12-08 04:37:30

问题


Background:

I installed shell integration in iTerm2 and enabled saving all command history to disk so it persists between sessions (Preferences > General > Save copy/paste and command history to disk).

Questions:

A) Is there is a limit to how much history will be stored? Does it follow the value assigned to the HISTFILESIZE environment variable, or is it controlled some other way, or limited by default?

B) The history in the toolbelt contains additional information like the working directory at the time the command was executed (printed on the cli when you option+double click the history item). Where does this information come from?

The documentation doesn't address this at all and I couldn't find any answers on google. Does anyone know? Thanks in advance!

来源:https://stackoverflow.com/questions/47373577/how-much-history-will-be-saved-in-iterm2-shell-integrations-toolbelt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!