How much history will be saved in iTerm2 Shell Int

2019-05-29 21:15发布

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!

0条回答
登录 后发表回答