fix(scd): avoid hardcoded binary path (#12641)

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
pull/12643/head
Błażej Sowa 2024-08-28 14:27:50 +02:00 committed by GitHub
parent a3dfe29036
commit c80050d6f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ _scd_Y19oug_match() {
# build a list of matching directories reverse-sorted by their probabilities # build a list of matching directories reverse-sorted by their probabilities
dmatching=( ${(f)"$( dmatching=( ${(f)"$(
builtin printf "%s %s\n" ${(Oakv)drank} | builtin printf "%s %s\n" ${(Oakv)drank} |
/usr/bin/sort -grk1 )"} command sort -grk1 )"}
) )
dmatching=( ${dmatching#*[[:blank:]]} ) dmatching=( ${dmatching#*[[:blank:]]} )