tmux-plugins / tmux-sensible

basic tmux settings everyone can agree on
MIT License
1.76k stars 91 forks source link

Plugin returns 127 #30

Closed wikimatze closed 8 years ago

wikimatze commented 8 years ago

Hi Bruno,

I have tmux 2.1 running and started using your plugin to get rid of standard settings everybody should use in tmux. When starting tmux, I get the following message:

tmux source-file .tmux.conf 
'/home/wm/clone/path/sensible.tmux' returned 127

You can find my tmux.conf here https://github.com/wikimatze/dotfiles/blob/master/tmux.conf.

Maybe the issue lies in my settings or in the latest tmux version.

bruno- commented 8 years ago

Hey, your tmux.conf looks all good, just remove the run-shell ~/clone/path/sensible.tmux line from the bottom and everything should work.

The error happens because you're trying to run a script (with run-shell) that does not exist (in this path: ~/clone/path/sensible.tmux) and that's why you get error 127.

The error line was most likely copy-pasted from the readme by accident. It's not needed because you're using tmux plugin manager to run plugins.

Hope this helps.

wikimatze commented 8 years ago

Yeah, that was the solution, thanks for having a look into it.

bruno- commented 8 years ago

Great.