wfxr/tmux-power

Sourcing the configuration does not work with tmux 2.6

HappyCerberus opened this issue · 2 comments

I tried to use this repo, but all I get is bunch of "unknown command" errors.

/home/simontoth/.repos/tmux-power/tmux-power.tmux:10: unknown command: tmux_get()
/home/simontoth/.repos/tmux-power/tmux-power.tmux:11: unknown command: local
/home/simontoth/.repos/tmux-power/tmux-power.tmux:12: unknown command: [
/home/simontoth/.repos/tmux-power/tmux-power.tmux:13: unknown command: }
/home/simontoth/.repos/tmux-power/tmux-power.tmux:17: unknown command: tmux_set()
/home/simontoth/.repos/tmux-power/tmux-power.tmux:18: unknown command: tmux
/home/simontoth/.repos/tmux-power/tmux-power.tmux:19: unknown command: }
/home/simontoth/.repos/tmux-power/tmux-power.tmux:23: unknown command: case
/home/simontoth/.repos/tmux-power/tmux-power.tmux:24: unknown command: gold
/home/simontoth/.repos/tmux-power/tmux-power.tmux:26: unknown command: ;
/home/simontoth/.repos/tmux-power/tmux-power.tmux:27: unknown command: redwine
/home/simontoth/.repos/tmux-power/tmux-power.tmux:29: unknown command: ;
/home/simontoth/.repos/tmux-power/tmux-power.tmux:30: unknown command: moon
/home/simontoth/.repos/tmux-power/tmux-power.tmux:32: unknown command: ;
/home/simontoth/.repos/tmux-power/tmux-power.tmux:33: unknown command: forest
/home/simontoth/.repos/tmux-power/tmux-power.tmux:35: unknown command: ;
/home/simontoth/.repos/tmux-power/tmux-power.tmux:36: unknown command: violet
/home/simontoth/.repos/tmux-power/tmux-power.tmux:38: unknown command: ;
/home/simontoth/.repos/tmux-power/tmux-power.tmux:39: unknown command: snow
/home/simontoth/.repos/tmux-power/tmux-power.tmux:41: unknown command: ;
/home/simontoth/.repos/tmux-power/tmux-power.tmux:42: unknown command: coral
/home/simontoth/.repos/tmux-power/tmux-power.tmux:44: unknown command: ;
/home/simontoth/.repos/tmux-power/tmux-power.tmux:45: unknown command: sky
/home/simontoth/.repos/tmux-power/tmux-power.tmux:47: unknown command: ;
/home/simontoth/.repos/tmux-power/tmux-power.tmux:48: unknown command: esac
/home/simontoth/.repos/tmux-power/tmux-power.tmux:60: unknown command: tmux_set
/home/simontoth/.repos/tmux-power/tmux-power.tmux:61: unknown command: tmux_set
/home/simontoth/.repos/tmux-power/tmux-power.tmux:64: unknown command: tmux_set
/home/simontoth/.repos/tmux-power/tmux-power.tmux:65: unknown command: tmux_set
/home/simontoth/.repos/tmux-power/tmux-power.tmux:66: unknown command: tmux_set
/home/simontoth/.repos/tmux-power/tmux-power.tmux:69: unknown command: tmux_set
/home/simontoth/.repos/tmux-power/tmux-power.tmux:70: unknown command: tmux_set
... snip ...
wfxr commented

@HappyCerberus Thank you for your feedback!
Sorry the description for manually installation in README is wrong. You should just run the script directly since it is a pure script.
I will fix the description later, please keep this issue open.

wfxr commented

@HappyCerberus Fixed in 3e8a3a6. Replace the source-file into run-shell should fix the problem.