启动 tmux 时显示“尽管删除了 resurrect,但仍恢复会话”

启动 tmux 时显示“尽管删除了 resurrect,但仍恢复会话”

在 bash(MacOsX El Captain)中启动 tmux 时删除 tmux resurrect 并清理整个文件夹 ~/.tmux/ 后,我得到了信息:

“恢复会话:2016 年 9 月 15 日星期四 17:15:04 CEST”

我假设我还没有完全删除 tmux ressurrect 或 tmuxinator,但我无法找到禁用它的方法。

编辑:

  1. find / tmux - 未找到文件或目录
  2. 查找/恢复 - 未找到文件或目录
  3. 卸载并重新安装 tmux(使用 brew)后仍然没有帮助

EDIT2:命令 cat tmux-server-4144.log | grep session 的输出

1473953899.570430 cmdq 0x7fe92ae04d10: bind-key $ command-prompt -I#S "rename-session '%%'"
1473953899.570436 preparing state for bind-key $ command-prompt -I#S "rename-session '%%'" (client 0x0)
1473953899.573639 cmdq 0x7fe92ae09cd0: new-session
1473953899.573643 preparing state for new-session (client 0x7fe92c003000)
1473953899.573646 cmd_find_current_session: have client 0x7fe92c003000
1473953899.573661 cmd_find_current_session: have client 0x7fe92c003000
1473953899.574922 new session 0 $0
1473953899.574926 session 0 activity 1473953899.574925 (last 0.000000)
1473953899.575243 session 0 created
1473953899.575270 session 0 activity 1473953899.575268 (last 1473953899.574925)
1473953899.575291 session 0 has 3 references
1473953899.575295 session 0 has 2 references
1473953899.587201 input_parse: %0 ground, 49 bytes: Restored session: Thu Sep 15 17:35:52 CEST 2016\r\n
1473953902.034714 session 0 activity 1473953902.034710 (last 1473953899.575268)
1473953902.034724 session 0 not pasting
1473953902.201937 session 0 activity 1473953902.201934 (last 1473953902.034710)
1473953902.201943 session 0 not pasting
1473953902.306065 session 0 activity 1473953902.306061 (last 1473953902.201934)
1473953902.306073 session 0 not pasting
1473953902.402305 session 0 activity 1473953902.402301 (last 1473953902.306061)
1473953902.402313 session 0 not pasting
1473953902.834269 session 0 activity 1473953902.834265 (last 1473953902.402301)
1473953902.834277 session 0 not pasting
1473953902.834674 input_parse: %0 ground, 17 bytes: Saving session...
1473953902.856287 session 0 has 2 references
1473953902.856292 session 0 destroyed
1473953902.856295 session 0 has 2 references
1473953902.856298 session 0 has 1 references
1473953902.856334 session 0 freed (0 references)

答案1

El Capitan 的终端会话应该仅在新的 Apple Terminal 窗口下运行,但会影响所有交互式 bash 会话,无论终端如何。哎呀。

运行touch ~/.bash_sessions_disable以禁用它。

相关内容