joouha / ranger_tmux

Tmux integration for ranger
MIT License
37 stars 5 forks source link

ranger_tmux.drop not workin #6

Closed Joarell closed 2 years ago

Joarell commented 2 years ago

Hi there!

I hope you are doing great! This plugin is really great, thank you for having had this idea!

I would like to ask you some assistance on the drop down feature. I couldn't figure it out what is wrong on my system settings cause it's not working properly. Attached you find the images about the python output when I run the command python -m ranger_tmux.drop. I have installed the plugin using pip command.

Thank you in advance and have a great day! ranger_plugin ranger_plugin1

joouha commented 2 years ago

Hi,

Thanks! I'm doing very well :-)

What version of tmux are you using?

What output do you get if you run the following?:

tmux display -t '{top}' -p "#{pane_id}|#{pane_start_command}|#{pane_pid}"
Joarell commented 2 years ago

Great! So, I'm using the tmux -version 3.3a.

This is the output of the coommand as you suggested:

"which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l /bin/zsh || /bin/zsh"|208017

Joarell commented 2 years ago

Bingo!

I found my error! On my tmux.conf I had the line below: set-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $SHELL || $SHELL" When I have commented that line it's worked perfectly! Thank you so much for your attention and assistance! I'll close the my personal "issue"... Rsrssrsr... As soon as you send me your reply.

I wish you best! Thank you again for this plugin it's really great! Have a great day and be fine! Warmest regards from Brazil!