Add diff command

This commit is contained in:
samedamci 2021-08-26 22:25:15 +02:00
parent a98ba68f49
commit abf39c44d0
No known key found for this signature in database
GPG Key ID: FCB4A9A20D00E894

4
guzzy/commands/diff.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
git status | awk '/modified/ { print $2 }' | fzf --preview \
'git diff --color=always {}'