Add check for presence of fd on system
This commit is contained in:
parent
31cbc35a7b
commit
5e754ac454
@ -27,6 +27,8 @@ declare -a fd_opts
|
||||
declare -r blue='\033[0;34m'
|
||||
declare -r nocolor='\033[0;0m'
|
||||
|
||||
[[ ! -x '/usr/bin/fd' ]] && echo 'fd is not present, cancelling' >&2 && exit 1
|
||||
|
||||
while true; do
|
||||
case "${1}" in
|
||||
'-d'|'--directories-only')
|
||||
|
Loading…
x
Reference in New Issue
Block a user