Skip to content

Commit 38f1396

Browse files
committed
Update README
1 parent d0a7314 commit 38f1396

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
# code-review-zsh
2+
23
zsh code review plugin
4+
5+
### Install
6+
7+
If using `antibody`: `antibody bundle xorkevin/code-review-zsh`

code-review.plugin.zsh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ function code-review () {
3737
selectfile=$(echo "$filesout" | fzf --reverse --preview '[[ $(file --mime {}) =~ binary ]] && echo {} is a binary file || (bat --color=always -r :$FZF_PREVIEW_LINES {} || head -$FZF_PREVIEW_LINES {}) 2> /dev/null')
3838
# alternate screen
3939
echo -ne "\e[?1049h"
40-
echo selectfile: "begin${selectfile}end"
4140
if [ -z $selectfile ]; then
4241
else
4342
git difftool --no-prompt $merge_base $target_branch -- $selectfile

0 commit comments

Comments
 (0)