tmux-plugins / tpm

Tmux Plugin Manager
MIT License
11.68k stars 415 forks source link

[Help]-TPM not working in MacOS #252

Closed gambhirsharma closed 10 months ago

gambhirsharma commented 1 year ago

Unable to load the package using TPM

Whenever I press the < prefix > +i the bottom green bar in tmux appears yellow and then becomes green again. It doesn't load the package specified in tmux config file.

** note: installed using HomeBrew

It works fine in my Manjaro and Xubuntu setup with same config but doesn't work on Mac.

System details

Config file

# start window index at 1
set -g base-index 1

# start pane index at 1
set -g pane-base-index 1

# re-number windows when one is closed
set -g renumber-windows on

# User made config it me Gambhir:)
# form YT "Make TMUX Look Amazing in 3 Minutes!-complete tutorial" by typecraft.

unbind r
bind r source-file ~/.tmux.conf

set -g prefix C-s

# act like vim
setw -g mode-keys vi
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R

# list of plugin
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'dracula/tmux'

# dracula tmux config
set -g @dracula-cpu-usage-label "CPU"
set -g status-position bottom
set -g @dracula-show-location false
set -g @dracula-show-powerline false
set -g @dracula-show-weather false
set -g @dracula-git-disable-status true
set -g @dracula-show-flags true
set -g @dracula-show-left-icon session
set -g @dracula-git-disable-status true
set -g @dracula-show-powerline true

set -g mouse on

# This line is for MacOS tmux installed form brew
set-environment -g PATH "/opt/homebrew/bin:/usr/local/bin:/bin:/usr/bin"

# Initialize TMUX plugin manager (keep this line in the very bottom of the tmux.config)
run '~/.tmux/plugins/tpm/tpm'

# #######################################
# To run the program
# tmux source ~/.tmux.conf
# #######################################
azamat-sharapov commented 1 year ago

Latest homebrew upgrade caused this for me. Try kill-server: https://github.com/tmux-plugins/tpm/issues/166

lightbluepoppy commented 10 months ago

Whenever I press the < prefix > +i the bottom green bar in tmux appears yellow and then becomes green again. It doesn't load the package specified in tmux config file.

<prefix> + (capital) i is the one.

gambhirsharma commented 10 months ago

Whenever I press the < prefix > +i the bottom green bar in tmux appears yellow and then becomes green again. It doesn't load the package specified in tmux config file.

<prefix> + (capital) i is the one.

Thanks, it worked.