admin管理员组

文章数量:1357302

I am able to configure iTerm2 to open in the last directory I was in, but I would like to know if its possible to also carryover all environment variables defined in my "origin" tab to the new tab as well.

For example, I am in DIR_A, I export FOO=bar, and when I open the new tab, I am not only in DIR_A, but if I echo $FOO, I would get bar as output.

本文标签: preserving environment and home directory on new tab creation in iTerm2Stack Overflow