Add detection of eza command

This commit is contained in:
Pandu E POLUAN 2024-02-26 18:20:03 +07:00 committed by GitHub
parent 6ad7ca7c13
commit 16907c18d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,7 @@
if ! (( $+commands[eza] )); then
print "zsh eza plugin: eza not found. Please install eza before using this plugin." >&2
return 1
fi
typeset -a _EZA_HEAD
typeset -a _EZA_TAIL