/ dot_config / television / cable / git-branch.toml
git-branch.toml
 1  [metadata]
 2  name = "git-branch"
 3  description = "A channel to select from git branches"
 4  requirements = ["git"]
 5  
 6  [source]
 7  command = "git --no-pager branch --all --format=\"%(refname:short)\""
 8  output = "{split: :0}"
 9  
10  [preview]
11  command = "git show -p --stat --pretty=fuller --color=always '{0}'"