macOS在tmux下clear报错terminals database is inaccessible


解决方案:

$ curl -LO https://invisible-island.net/datafiles/current/terminfo.src.gz && gunzip terminfo.src.gz
$ /usr/bin/tic -xe tmux-256color terminfo.src
$ sudo /usr/bin/tic -xe tmux-256color terminfo.src
$ /usr/bin/tic -xe alacritty-direct,tmux-256color terminfo.src
$ infocmp -x tmux-256color

然后在tmux.conf文件中添加set -g default-terminal "tmux-256color"即可


内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.11000011.com/?id=699

« 上一篇 下一篇 »
«    2026年7月    »
12345
6789101112
13141516171819
20212223242526
2728293031

控制面板

您好,欢迎到访网站!
  查看权限
«    2026年7月    »
12345
6789101112
13141516171819
20212223242526
2728293031

控制面板

您好,欢迎到访网站!
  查看权限
您是本站第25517名访客 今日有0篇新文章