Closed Evollt closed 7 months ago
Hello @Evollt,
.conf
file?Hello @Evollt,
Any news?
Sorry to necro this, but I'm also running into this issue. I'm using Ubuntu 22.04 with tmux 3.2a.
When I try to tmux source ~/.config/tmux/tmux.conf
, I get a 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration' returned 127
error. When I launch tmux, I see some components of the status line updated properly (e.g. colors), but executing <prefix> + r
gives me the same cut
error, followed by the '"$TMUX_PROGRAM" ${TMUX_SOCKET:+-S "$TMUX_SOCKET"} source "$TMUX_CONF"' returned 127
error the OP posted.
I believe there's some issue with tpm integration. I noticed that the ~/.config/tmux/plugins/
directory isn't getting created when I call out plugins in my tmux.conf.local
file. I've commented out all of my plugins and removed all of the content from my status line that relies on the plugins and that's what leads me to the errors I pointed out above.
Hello @sethraymond,
I suggest you start the setup over, make sure you remove all config files, kill all tmux processes. Then try to add TPM plugins 1 by 1.
Thanks for the quick reply. Seems like killing and restarting tmux processes did it (but somehow rebooting did not?)
/Users/evollt/.tmux.conf:1117: invalid environment variable '"$TMUX_PROGRAM" ${TMUX_SOCKET:+-S "$TMUX_SOCKET"} source "$TMUX_CONF"' returned 1
When i reload configuration.
I changed this string:
tmux_conf_theme_status_left=${tmux_conf_theme_status_left-' ❐ #S | ↑#{?uptime_y, #{uptime_y}y,}#{?uptime_d, #{uptime_d}d,}#{?uptime_h, #{uptime_h}h,}#{?uptime_m, #{uptime_m}m,} '}