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

[BUG] ZSH warning/error with eval "$(emplace init zsh)" #375

Open
dimitarvp opened this issue May 26, 2023 · 0 comments
Open

[BUG] ZSH warning/error with eval "$(emplace init zsh)" #375

dimitarvp opened this issue May 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dimitarvp
Copy link

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:

  1. Install emplace
  2. Edit ~/.zshrc and add the following at the end of it: eval "$(emplace init zsh)"
  3. Restart terminal or just open a new tab.
  4. 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
@dimitarvp dimitarvp added the bug Something isn't working label May 26, 2023
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
None yet
Development

No branches or pull requests

1 participant