mirror of
https://github.com/Aloxaf/fzf-tab.git
synced 2026-09-10 07:26:16 -04:00
test: fix egrep deprecation warning, ignore .zcompdump
egrep is obsolescent; use grep -E. The ztst run generates .zcompdump in the repo root; ignore it so it never gets committed.
This commit is contained in:
parent
462e6c3dd5
commit
dfb27f686c
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
*.zwc
|
||||
.zcompdump
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
export LC_ALL=C
|
||||
ZSH_TEST_LANG=
|
||||
langs=(en_{US,GB}.{UTF-,utf}8 en.UTF-8
|
||||
$(locale -a 2>/dev/null | egrep 'utf8|UTF-8'))
|
||||
$(locale -a 2>/dev/null | grep -E 'utf8|UTF-8'))
|
||||
for LANG in $langs; do
|
||||
if [[ é = ? ]]; then
|
||||
ZSH_TEST_LANG=$LANG
|
||||
|
|
|
|||
Loading…
Reference in a new issue