We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0a7314 commit 38f1396Copy full SHA for 38f1396
README.md
@@ -1,2 +1,7 @@
1
# code-review-zsh
2
+
3
zsh code review plugin
4
5
+### Install
6
7
+If using `antibody`: `antibody bundle xorkevin/code-review-zsh`
code-review.plugin.zsh
@@ -37,7 +37,6 @@ function code-review () {
37
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')
38
# alternate screen
39
echo -ne "\e[?1049h"
40
- echo selectfile: "begin${selectfile}end"
41
if [ -z $selectfile ]; then
42
else
43
git difftool --no-prompt $merge_base $target_branch -- $selectfile
0 commit comments