Skip to content

[Bug]: Waveterm dosen't work out of the box if you use antidote.sh #2123

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

Open
3 tasks
rantos9 opened this issue Apr 21, 2025 · 1 comment
Open
3 tasks

[Bug]: Waveterm dosen't work out of the box if you use antidote.sh #2123

rantos9 opened this issue Apr 21, 2025 · 1 comment
Labels
bug Something isn't working triage Needs triage

Comments

@rantos9
Copy link

rantos9 commented Apr 21, 2025

Current Behavior

I'm not sure if this should be considered a bug or not. I'm writing this here more so other people can find the solution more easily.

Waveterm has it's own directory for zsh config files and sets it's own $ZDOTDIR.
This clashes with antidotes's defaults and creates a semi-broken shell where none of your plugins are loaded. This is the error I was getting:

antidote: bundle file not found '/Users/renan/Library/Application Support/waveterm/shell/zsh/.zsh_plugins.txt'.

For a quick fix one can just run antidote load since $ZDOTDIR is unset by the time the user gets access to the terminal and it then loads plugins from the home directory instead of trying loading from $ZDOTDIR . I'm not sure if things below antidote load on the user's .zshrc are set tho, I believe they are not.

For a more permanent fix one can set these lines on Waveterm's .zshrc to remove$ZDOTDIR from antidote load default just when you're using Waveterm.

zstyle ':antidote:bundle' file ${HOME}/.zsh_plugins.txt
zstyle ':antidote:static' file ${HOME}/.zsh_plugins.zsh

These have to be placed before the original .zshrc is sourced.

Waveterm's .zshrc is located at $HOME/Library/Application\ Support/waveterm/shell/zsh/.zshrc

Expected Behavior

I expected the terminal to work out of the box with all my plugins. Or at least a nice warning telling the user how to fix it and where Waveterm's zsh dot files resides.

Steps To Reproduce

  1. Install antidote.sh
  2. Install some plugins
  3. Install Waveterm

Wave Version

Client Version 0.11.2 (202503082049)

Platform

macOS

OS Version/Distribution

macOS Sequoia 15.3.2

Architecture

arm64

Anything else?

No response

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later
@rantos9 rantos9 added bug Something isn't working triage Needs triage labels Apr 21, 2025
@DTS-And-Eaglepoint-Funding
Copy link

DTS-And-Eaglepoint-Funding commented May 6, 2025

same here but im on linux
i got it to work by sim-linking .zsh_plugins.zsh and .zsh_plugins.txt to waveterm/shell/zsh/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Needs triage
Projects
None yet
Development

No branches or pull requests

2 participants