Open bs0c opened 2 years ago
I have:
XDG_CONFIG_DIRS=/etc/xdg XDG_CONFIG_HOME=$HOME/.config XDG_SEAT=seat0 XDG_SESSION_TYPE=tty XDG_CACHE_HOME=/tmp/user/.cache XDG_SESSION_CLASS=user XDG_VTNR=1 XDG_SESSION_ID=2 XDG_RUNTIME_DIR=/run/user/1000 XDG_DATA_DIRS=/usr/local/share:/usr/share TMUX=/tmp/tmux-1000/default,11461,0 TMUX_PLUGIN_MANAGER_PATH=$XDG_CONFIG_HOME/tmux/plugins/ TMUX_PANE=%0
Updating all plugins! [0/0] "tmux-plugin-sysstat" update success "tmux-network-bandwidth" update success "tpm" update success TMUX environment reloaded. Done, press ENTER to continue.
set-environment -g XDG_CONFIG_HOME "$HOME/.config" set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'samoshkin/tmux-plugin-sysstat' set -g @plugin 'xamut/tmux-network-bandwidth' run '~/.config/tmux/plugins/tpm/tpm' set -g status-right "#{network_bandwidth} • #{sysstat_cpu} • #{sysstat_mem} • #{sysstat_loadavg}"
but I don't see add-ons on status-right. it is working if I run:
$XDG_CONFIG_HOME/tmux/plugins/tmux-network-bandwidth/tmux-network-bandwidth.tmux or $XDG_CONFIG_HOME/tmux/plugins/tmux-plugin-sysstat/sysstat.tmux
please help me =)
SOLUTION:
set-environment -g XDG_CONFIG_HOME "$HOME/.config/" set-environment -g TMUX_PLUGIN_MANAGER_PATH "$XDG_CONFIG_HOME/tmux/plugins" set -g @plugin 'tmux-plugins/tpm' ... some plugins ... run '$XDG_CONFIG_HOME/tmux/plugins/tpm/tpm'
I have:
but I don't see add-ons on status-right. it is working if I run:
please help me =)
SOLUTION: