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

4 lines
174 B
Plaintext
Raw Normal View History

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