gpakosz / .tmux

🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
MIT License
22.01k stars 3.37k forks source link

'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' returned 2 #583

Closed Akazhiel closed 2 years ago

Akazhiel commented 2 years ago

Hello,

I just downloaded the repository and followed the steps to install this configuration but whenever I try opening tmux, the status bar at the bottom is just the default green one, and whenever I try to source the .tmux.conf file I get this error 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' returned 2 .

I'm using Ubuntu as OS with tmux 3.0a . I've tried rebooting the system and it hasn't worked. The terminal emulator I'm using is the one that comes by default and I'm using bash shell.

Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal

If I run this other command that I've seen in other issues cut -c3- ~/.tmux.conf | sh -sx _apply_configuration I get this output:

+ :
+ set -e
+ unset GREP_OPTIONS
+ export LC_NUMERIC=C
+ set +H
gpakosz commented 2 years ago

Can you please try with commit 18a111ff93aaaeb18ea94667d749d90aa26ec81d ?

Akazhiel commented 2 years ago

Hello, it does seem to work, but for some reason on the status bar instead of showing the segments like in the example, separated with like > or <. It is just separated with |. image

gpakosz commented 2 years ago

For the separators, please edit your copy of .tmux.conf.local and uncomment

#tmux_conf_theme_left_separator_main="\uE0B0"  # /!\ you don't need to install Powerline
#tmux_conf_theme_left_separator_sub="\uE0B1"   #   you only need fonts patched with
#tmux_conf_theme_right_separator_main="\uE0B2" #   Powerline symbols or the standalone
#tmux_conf_theme_right_separator_sub="\uE0B3"  #   PowerlineSymbols.otf font, see README.md

Then relaunch tmux