tmux-config
tmux-config copied to clipboard
tmux 3.0 errors
I'm experimenting some errors with MacOS Catalina and latest Tmux 3.0
.tmux.conf:43: syntax error
that seems to be related with:
# Unbind default key bindings, we're going to override
11 unbind "\$" # rename-session
10 unbind , # rename-window
9 unbind % # split-window -h
8 unbind '"' # split-window
7 unbind } # swap-pane -D
6 unbind { # swap-pane -U
5 unbind [ # paste-buffer
4 unbind ]
3 unbind "'" # select-window...
Seems to be a problem with the lack of '' , maybe I will try unbind '{' in all special characters
Then de next error is with the conditional statement if , that may be because is now needed de if-shell???
If somebody has a guide on how to migrate this to Tmux 3.0, will be very appreciated
In the meantime, if you're using brew, here's a good article on how to downgrade to v2.9a: https://medium.com/@wpcarro/brewing-an-old-batch-of-tmux-81c0a62715f9
So I went through, and I added \ (the slash) in front of the brace. After trying tmux source ~/.tmux.conf again it said I had another error with another brace. I did the same. Then I got your if error. On line 98, I added another \ to escape the \ that was already there. I reloaded it and it worked. I hope this wasn't too confusing to read.
I'm having the same issue. Are you willing to do a PR on this? (or diff)
This PR (https://github.com/samoshkin/tmux-config/pull/31) fixed the issue for me.
If anyone wants to install the most recent tmux 2.9:
brew uninstall tux && brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/c2a5cd21a94f5574458e16198f2c4a1b7a93a0c9/Formula/tmux.rb && brew pin tmux
If anyone wants to install the most recent tmux 2.9:
brew uninstall tux && brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/c2a5cd21a94f5574458e16198f2c4a1b7a93a0c9/Formula/tmux.rb && brew pin tmux
you are missing an 'm' in tmux. The correct command is:
brew uninstall tmux && brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/c2a5cd21a94f5574458e16198f2c4a1b7a93a0c9/Formula/tmux.rb && brew pin tmux
I think macOS somehow autocorrected it to tux. Thanks!
On Jan 6, 2020, at 8:02 PM, Brandon [email protected] wrote:
If anyone wants to install the most recent tmux 2.9:
brew uninstall tux && brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/c2a5cd21a94f5574458e16198f2c4a1b7a93a0c9/Formula/tmux.rb && brew pin tmux
you are missing an 'm' in tmux. The correct command is: brew uninstall tmux && brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/c2a5cd21a94f5574458e16198f2c4a1b7a93a0c9/Formula/tmux.rb && brew pin tmux
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.