mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 08:13:40 -05:00
jq_script variable wrapped in double quote
@@ -1153,7 +1153,7 @@ b() {
|
||||
def ancestors: while(. | length >= 2; del(.[-1,-2]));
|
||||
. as $in | paths(.url?) as $key | $in | getpath($key) | {name,url, path: [$key[0:-2] | ancestors as $a | $in | getpath($a) | .name?] | reverse | join("/") } | .path + "/" + .name + "\t" + .url'
|
||||
|
||||
jq -r $jq_script < "$bookmarks_path" \
|
||||
jq -r "$jq_script" < "$bookmarks_path" \
|
||||
| sed -E $'s/(.*)\t(.*)/\\1\t\x1b[36m\\2\x1b[m/g' \
|
||||
| fzf --ansi \
|
||||
| cut -d$'\t' -f2 \
|
||||
|
||||
Reference in New Issue
Block a user