8

tmux 安装配置主题

 2 years ago
source link: https://www.80shihua.com/archives/2773
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

窗口管理工具tmux是可以配置主题的,配置之前,首先需要安装插件管理器

下载插件管理工具tpm

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

安装tpm

修改tmux配置文件.tmux.conf,添加下面的配置

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

激活插件tpm

进入tmux环境,重新导入配置文件

tmux source ~/.tmux.conf

讲下面的配置添加到配置文件中

set -g @dracula-plugins "cpu-usage gpu-usage ram-usage"

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK