dotfiles/.local/bin/scripts/git-fzf-diff

4 lines
174 B
Text
Raw Normal View History

2022-02-11 11:45:12 +01:00
#!/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 -- {}' "$@"