zdharma-continuum / zinit

🌻 Flexible and fast ZSH plugin manager
MIT License
3.14k stars 129 forks source link

[bug]: egrep is deprecated #375

Closed cdemoulins closed 2 years ago

cdemoulins commented 2 years ago

What happened?

Update of plugin code use egrep command and since GNU grep 3.8, the command is deprecated and generate a warning.

https://www.phoronix.com/news/GNU-Grep-3.8-Stop-egrep-fgrep

Steps to reproduce

zinit update --all

Relevant output

Updating aperezdc/zsh-fzy
egrep: warning: egrep is obsolescent; using grep -E
Depuis https://github.com/aperezdc/zsh-fzy
Déjà à jour.

Screenshots and recordings

No response

Operating System & Version

OS: linux-gnu | Vendor: pc | Machine: x86_64 | CPU: x86_64 | Processor: unknown | Hardware: x86_64

Zsh version

zsh 5.9 (x86_64-pc-linux-gnu)

Terminal emulator

xterm-kitty (with tmux)

If using WSL on Windows, which version of WSL

No response

Additional context

❯ grep --version grep (GNU grep) 3.8

Code of Conduct

vladdoster commented 2 years ago

@cdemoulins Can you confirm #372 fixed this?

cdemoulins commented 2 years ago

Yes thanks !