From c80050d6f538d6d8d8942068ea9bf1d4de2b14e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Sowa?= Date: Wed, 28 Aug 2024 14:27:50 +0200 Subject: [PATCH] fix(scd): avoid hardcoded binary path (#12641) Co-authored-by: Carlo Sala --- plugins/scd/scd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/scd/scd b/plugins/scd/scd index 7e9654b44..c79de4538 100755 --- a/plugins/scd/scd +++ b/plugins/scd/scd @@ -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 )"} + command sort -grk1 )"} ) dmatching=( ${dmatching#*[[:blank:]]} )