mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 18:30:08 +00:00
fix(scd): avoid hardcoded binary path (#12641)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
parent
a3dfe29036
commit
c80050d6f5
1 changed files with 1 additions and 1 deletions
|
@ -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:]]} )
|
||||
|
||||
|
|
Loading…
Reference in a new issue