Closed Oliveiras closed 2 years ago
Hello @Oliveiras 👋
Please double check installation steps.
Please also double check how you're launching tmux. Typically Oh my tmux! won't work if you launch tmux with the -f
option to specify a configuration file location
Hello @gpakosz ,
I've double checked and didn't found any unmet requirement. Here's what I've checked:
$ sudo apt install libglib2.0-0
...
libglib2.0-0 is already the newest version (2.64.6-1~ubuntu20.04.4).
$ ldd --version ldd
ldd (Ubuntu GLIBC 2.31-0ubuntu9.2) 2.31
...
tmux
Other than that, I'm using Windows Terminal, have installed and configured to use "Source Code Pro for Powerline" font. It's seems working.
Am I missing somethig? What else can I look for?
Thanks!
If reloading the tmux configuration with <prefix> + r
doesn't make the following changes materialize
tmux_conf_theme_status_left="hi "
tmux_conf_theme_status_right=" bye"
Then it means tmux didn't load ~/.tmux.conf
in the first place: ~/.tmux.conf
should be a symlink to ~/.tmux/.tmux.conf
.
Can you please paste the output of
$ head -4 ~/.tmux.conf
?
You can also look for /etc/tmux.conf
or /usr/local/etc/tmux.conf
files. If they exist, tmux won't load ~/.tmux.conf
Here is the output of that command and the check to see if those other files exists:
➜ ~ head -4 ~/.tmux.conf
# : << EOF
# https://github.com/gpakosz/.tmux
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license,
# without any warranty.
➜ ~ ls -lh ~/.tmux.conf
lrwxrwxrwx 1 alex alex 16 Dec 27 11:58 /home/alex/.tmux.conf -> .tmux/.tmux.conf
➜ ~ ls -lh /etc/tmux.conf
ls: cannot access '/etc/tmux.conf': No such file or directory
➜ ~ ls -lh /usr/local/etc/tmux.conf
ls: cannot access '/usr/local/etc/tmux.conf': No such file or directory
Other than that, I know the file is being loaded because if I change the color (for example) in the .tmux.conf.local, it does get applied.
I finally found the problem, I tried to install a theme plugin (gruvbox) and it interacted badly with oh my tmux. I uninstalled it and the status bar is now working fine. Thanks for your time and sorry for not remembering mentioning that part.
No matter what I write on
tmux_conf_theme_status_left
andtmux_conf_theme_status_right
, it's ignored.Even if I write a simple value, without variables or unicode chars, like below, it's still ignored.
I'm using Windows 10 + WSL2 + Ubuntu + Zsh. Here's the output of some commands, showing the versions.
What else should I look for?