diff --git a/guzzy/commands/diff.sh b/guzzy/commands/diff.sh new file mode 100755 index 0000000..b00341e --- /dev/null +++ b/guzzy/commands/diff.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +git status | awk '/modified/ { print $2 }' | fzf --preview \ + 'git diff --color=always {}'