I have installed Zim and when making ‘source .zshrc’ I get an error. error: ERRCWD invalid cwd '/Users/xxxx/.mshell/rcfiles/41e154ee-a44f-4404-ae0d-92ccbaccd70a' for command: stat /Users/xxxx/.mshell/rcfiles/41e154ee-a44f-4404-ae0d-92ccbaccd70a: no such file or directory
I navigated to the folder that says the environment variable $ZDOTDIR and Wave crashes everything, I can't write anything.
With another terminal not crashed.
To Reproduce
Steps to reproduce the behavior:
Use this code from Zim:
# ------------------
# Initialize modules
# ------------------
ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim
# Download zimfw plugin manager if missing.
if [[ ! -e ${ZIM_HOME}/zimfw.zsh ]]; then
if (( ${+commands[curl]} )); then
curl -fsSL --create-dirs -o ${ZIM_HOME}/zimfw.zsh \
https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh
else
mkdir -p ${ZIM_HOME} && wget -nv -O ${ZIM_HOME}/zimfw.zsh \
https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh
fi
fi
# Install missing modules, and update ${ZIM_HOME}/init.zsh if missing or outdated.
if [[ ! ${ZIM_HOME}/init.zsh -nt ${ZDOTDIR:-${HOME}}/.zimrc ]]; then
source ${ZIM_HOME}/zimfw.zsh init -q
fi
# Initialize modules.
source ${ZIM_HOME}/init.zsh
Reload the config with source .zshrc
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Using another Terminal
Desktop (please complete the following information):
OS: macOS M2 14.4.1
Version: 0.7.5 (20240502-224736)
Additional context
Add any other context about the problem here.
Describe the bug
Hi!
I have installed Zim and when making ‘source .zshrc’ I get an error.
error: ERRCWD invalid cwd '/Users/xxxx/.mshell/rcfiles/41e154ee-a44f-4404-ae0d-92ccbaccd70a' for command: stat /Users/xxxx/.mshell/rcfiles/41e154ee-a44f-4404-ae0d-92ccbaccd70a: no such file or directory
I navigated to the folder that says the environment variable $ZDOTDIR and Wave crashes everything, I can't write anything. With another terminal not crashed.
To Reproduce Steps to reproduce the behavior:
source .zshrc
Expected behavior A clear and concise description of what you expected to happen.
Screenshots![image](https://github.com/wavetermdev/waveterm/assets/7152452/6acad142-add1-47b1-b29f-7c427de67f2d)
Using another Terminal
Desktop (please complete the following information):
Additional context Add any other context about the problem here.