Skip to content

Commit d3ae75a

Browse files
author
Hiroki Konishi
committed
Update: Use fd command for ** expansion
1 parent a50bd00 commit d3ae75a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/pmy_rules.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[
22
{
3-
"regexpLeft": "(?P<body>.*?)(?P<path>~{0,1}([\\w\\-.]*/)*)\\*\\*$",
3+
"regexpLeft": "(?P<body>.*?)(?P<path>~{0,1}([\\w\\-.]*/)*)\\*(?P<query>.*)\\*$",
44
"cmdGroups": [
55
{
6-
"stmt": "eval ${FZF_DEFAULT_COMMAND}",
6+
"stmt": "fd --full-path --color always \"<query>\" <path>",
77
"after": "awk '{print $0}'"
88
}
99
],

0 commit comments

Comments
 (0)