z-shell / zsh-eza

⚙️ Zsh plugin to replace command gnu/ls with eza-community/eza
https://wiki.zshell.dev
MIT License
51 stars 12 forks source link

[bug]: Adding zsh-eza without eza installed prevents zsh startup #28

Open jeffqg opened 4 months ago

jeffqg commented 4 months ago

Environment

Ubuntu 23.10

Reproduction steps

1. Do not install eza yet.
2. Add z-shell/zsh-eza to your zsh plugins. For example, with antidode: `echo "z-shell/zsh-eza" >> .zsh_plugins.txt`
3. Run zsh

Expected behavior

4. zsh-eza prints an error message, but leaves zsh running

Current behavior

4. zsh-eza prints an error message and zsh exits

Code snippet

# .zshrc
source $HOME/dotfiles-packages/antidote/antidote.zsh
antidote load $HOME/.zsh_plugins.txt
# .zsh_plugins.txt
z-shell/zsh-eza

Additional information

If exec zsh is used in step 3 above in a login shell or over ssh, this will quit the shell and prevent login/ssh without working around a user's default shell.

Self-service

Have you read the Contributing Guidelines?

Are you familiar with the Contributor Covenant Code of Conduct?

Contact Details

No response

github-actions[bot] commented 3 months ago

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a 👍 Because this issue is marked as stale, it will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions!