From ca8a48ecdab6676728b0480913e3d10b68ce75b3 Mon Sep 17 00:00:00 2001 From: Lonenso Date: Sun, 20 Mar 2022 16:08:56 +0800 Subject: [PATCH] fix: use go-yq instead python-yq --- scripts/git/cheatsheets | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/git/cheatsheets b/scripts/git/cheatsheets index f126725..72f1348 100755 --- a/scripts/git/cheatsheets +++ b/scripts/git/cheatsheets @@ -12,7 +12,8 @@ init() { echo "Init $name" git clone "$source" "$path" fi - done < <(yq -r '.cheatpaths[] | [.name, .path, .source] | @tsv' "$(cheat -C | awk '{print $2}')") + # requires go-yq + done < <(yq '.cheatpaths[] | [.name, .path, .source] | @tsv' "$(cheat -C | awk '{print $2}')") echo "Finished init" }