[BUG] ZSH warning/error with `eval "$(emplace init zsh)"`
dimitarvp opened this issue · 0 comments
dimitarvp commented
Describe the bug
Adding eval "$(emplace init zsh)"
to ~/.zshrc
makes the terminal produce the following on every startup (including opening tabs): arguments:comparguments:327: can only be called from completion function
To Reproduce
Steps to reproduce the behavior:
- Install
emplace
- Edit
~/.zshrc
and add the following at the end of it:eval "$(emplace init zsh)"
- Restart terminal or just open a new tab.
- Observe the warning/error.
Expected behavior
A clean terminal startup without the warning/error.
Desktop (please complete the following information):
- OS: macOS
- Shell: zsh
Additional context
The warning/error does not appear if eval "$(emplace init zsh)"
is commented out in ~/.zshrc
.
Machine information
Software version
emplace 1.4.2 (v1.4.2)
Operating system
macOS 13.3.1 (Darwin 22.4.0)
Environment variables
SHELL=/bin/zsh
EMPLACE_CONFIG='/Users/dimi/Library/Application Support/emplace.toml'
Git version
> git --version
git version 2.40.1
Compile time information
- Profile: release
- Target triple: x86_64-apple-darwin
- Family: unix
- OS: macos
- Architecture: x86_64
- Pointer width: 64
- Endian: little
- CPU features: fxsr,sse,sse2,sse3,ssse3
- Host: x86_64-apple-darwin