fix(scd): don't use hardcoded path to sort executable

This commit is contained in:
Błażej Sowa 2024-08-28 14:02:08 +02:00
commit 728b9420ac

View file

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