c80050d6f538d6d8d8942068ea9bf1d4de2b14e8
- Author
- Błażej Sowa <bsowa123@gmail.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
fix(scd): avoid hardcoded binary path (#12641)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
Diff
1diff --git a/plugins/scd/scd b/plugins/scd/scd
2index 7e9654b441c10c045fb47fe99ca9af0190f3ba9d..c79de45385f1bda7e21cd56876bb9b9e42c7596b 100755
3--- a/plugins/scd/scd
4+++ b/plugins/scd/scd
5@@ -445,7 +445,7 @@ _scd_Y19oug_match() {
6 # build a list of matching directories reverse-sorted by their probabilities
7 dmatching=( ${(f)"$(
8 builtin printf "%s %s\n" ${(Oakv)drank} |
9- /usr/bin/sort -grk1 )"}
10+ command sort -grk1 )"}
11 )
12 dmatching=( ${dmatching#*[[:blank:]]} )
13