/ dot_config / television / cable / git-diff.toml
git-diff.toml
 1  [metadata]
 2  name = "git-diff"
 3  description = "A channel to select files from git diff commands"
 4  requirements = ["git"]
 5  
 6  [source]
 7  command = "git diff --name-only HEAD"
 8  
 9  [preview]
10  command = "git diff HEAD --color=always -- '{}'"