Skip to content

TPM keybinding for installing plugins is not working. #301

@GentryCat

Description

@GentryCat

Issue

When I run neither CLI:

tmux run-shell /opt/homebrew/opt/tpm/share/tpm/bindings/install_plugins

Nor

sh /opt/homebrew/opt/tpm/share/tpm/bindings/install_plugins

It returns the same:

Details image

And of course
image

Which did not show installed plugins nor would install any plugin.


Expected behaviour

However, this worked as expected

sh /opt/homebrew/opt/tpm/share/tpm/scripts/install_plugins.sh
Details image
All the plugins are being installed in ~/.config/tmux/plugins/.

Thoughts

I wonder why?

I've checked tmux list-keys
image

I think it has something to do with how bindings/install_plugins works, is there a way of solving my problem?

Thank you!


Config

I used homebrew to install TMUX.

This is my .config/tmux/tmux.conf

tmux.conf
# Fix tmux color issues
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"

set-environment -g PATH "/opt/homebrew/bin:/usr/local/bin:/bin:/usr/bin"

# Plugins

# I used homebrew to install tpm, so I don't need to reinstall it into my .config/tmux/plugins/
# set -g @plugin 'tmux-plugins/tpm'

set -g @plugin 'catppuccin/tmux'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-online-status'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'sainnhe/tmux-fzf'
set -g @plugin 'tmux-plugins/tmux-resurrect'


run '/opt/homebrew/opt/tpm/share/tpm/tpm'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions