dotfiles/.local/bin/scripts/git-fzf-diff
2022-03-06 22:01:56 +01:00

3 lines
174 B
Bash
Executable file

#!/bin/sh
# fzf tweaked for previewing diffs for git tracked files
fzf --tiebreak=end,index --multi --preview-window=wrap --preview='git diff HEAD --color=always -- {}' "$@"