File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ jjfile.py のありかは、カレントディレクトリと親ディレクト
55
55
RESULT_FILE=/tmp/_jj_result
56
56
jj-menu --result-file=${RESULT_FILE}
57
57
if [ $? == 0 ]; then
58
- source ${RESULT_FILE}
59
58
history -s `cat ${RESULT_FILE}`
59
+ source ${RESULT_FILE}
60
60
fi
61
61
}
62
62
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ And register shell function (Optional)
48
48
RESULT_FILE=/tmp/_jj_result
49
49
jj-menu --result-file=${RESULT_FILE}
50
50
if [ $? == 0 ]; then
51
- source ${RESULT_FILE}
52
51
history -s `cat ${RESULT_FILE}`
52
+ source ${RESULT_FILE}
53
53
fi
54
54
}
55
55
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ function jj(){
3
3
RESULT_FILE=/tmp/_jj_result
4
4
jj-menu --result-file=${RESULT_FILE}
5
5
if [ $? == 0 ]; then
6
- source ${RESULT_FILE}
7
6
history -s ` cat ${RESULT_FILE} `
7
+ source ${RESULT_FILE}
8
8
fi
9
9
}
Original file line number Diff line number Diff line change 45
45
RESULT_FILE=/tmp/_jj_result
46
46
jj-menu --result-file=${RESULT_FILE}
47
47
if [ $? == 0 ]; then
48
- source ${RESULT_FILE}
49
48
history -s `cat ${RESULT_FILE}`
49
+ source ${RESULT_FILE}
50
50
fi
51
51
}
52
52
You can’t perform that action at this time.
0 commit comments