Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tmux plugins reports parse error near `function' #12506

Open
vringar opened this issue Jun 15, 2024 · 0 comments
Open

Tmux plugins reports parse error near `function' #12506

vringar opened this issue Jun 15, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@vringar
Copy link

vringar commented Jun 15, 2024

Describe the bug

After updating to the latest oh-my-zsh, I started seeing the following error

(eval):6: parse error near `function'
(eval):6: parse error near `function'
(eval):6: parse error near `function'
(eval):6: parse error near `function'

every time the shell starts.

Steps to reproduce

  1. Enable plugin tmux
  2. Source .zshrc

Expected behavior

The startup should complete without errror

Screenshots and recordings

No response

OS / Linux distribution

Manjaro Linux

Zsh version

5.9

Oh My Zsh version

master (0c9b42a)

Terminal emulator

Alacritty

If using WSL on Windows, which version of WSL

None

Additional context

I've had a hard time reproducing this bug because it somehow stopped happening when I commented out other plugins, but now I have reduced my .zshrc to

export ZSH=$HOME/.oh-my-zsh
plugins=(
   tmux
)
echo "Change"
source $ZSH/oh-my-zsh.sh
echo "Oh-my-zsh done"

and with the echos to confirm that the error happening during the omz loading and I have deleted and recloned the omz folder to ensure that no custom config is messing with it.

@vringar vringar added the Bug Something isn't working label Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant