File tree Expand file tree Collapse file tree 5 files changed +58
-52
lines changed
Expand file tree Collapse file tree 5 files changed +58
-52
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "regexpLeft" : " ^cd +(?P<path>.*)$" ,
4+ "command" : " \\ ls ${PMY_LS_OPTION} -1 <path> | egrep '/$'" ,
5+ "bufferLeft" : " []" ,
6+ "bufferRight" : " []"
7+ },
8+ {
9+ "regexpLeft" : " ^python.* " ,
10+ "command" : " \\ find . | egrep py$" ,
11+ "bufferLeft" : " []" ,
12+ "bufferRight" : " []"
13+ },
14+ {
15+ "regexpLeft" : " ^go " ,
16+ "command" : " \\ find . | egrep go$" ,
17+ "bufferLeft" : " []" ,
18+ "bufferRight" : " []"
19+ },
20+ {
21+ "regexpLeft" : " ^make " ,
22+ "regexpRight" : " " ,
23+ "command" : " cat Makefile" ,
24+ "bufferLeft" : " []" ,
25+ "bufferRight" : " []"
26+ },
27+ {
28+ "regexpLeft" : " git +add +" ,
29+ "command" : " git status --short | git status -s | grep -Ev \" ^(A|C|D|M|R|T|U|X|B)\" | cut -c4-" ,
30+ "bufferLeft" : " []" ,
31+ "bufferRight" : " []"
32+ },
33+ {
34+ "regexpLeft" : " ^export " ,
35+ "command" : " printenv" ,
36+ "bufferLeft" : " []" ,
37+ "bufferRight" : " []"
38+ },
39+ {
40+ "regexpLeft" : " (?P<cmd>.+)\\ .for" ,
41+ "command" : " echo ''" ,
42+ "bufferLeft" : " for x in $(<cmd>); do " ,
43+ "bufferRight" : " ; done"
44+ },
45+ {
46+ "regexpLeft" : " ^(vi||vim|nvim) " ,
47+ "command" : " find . -maxdepth 2" ,
48+ "bufferLeft" : " []" ,
49+ "bufferRight" : " []"
50+ }
51+ ]
Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "bufferLeft" : "ks
4+ }
5+
6+ ]
Original file line number Diff line number Diff line change 11# test environment path variable
22export PATH=" ${GOPATH} /src/github.com/relastle/pmy:${PATH} "
3- export PMY_CONFIG_PATH=" ${GOPATH} /src/github.com/relastle/pmy/resources/pmy_config .json"
3+ export PMY_CONFIG_PATH=" ${GOPATH} /src/github.com/relastle/pmy/resources/pmy_rules .json"
44
55pmy-widget () {
66 local buffer_left=${LBUFFER}
You can’t perform that action at this time.
0 commit comments