aboutsummaryrefslogtreecommitdiffstats
path: root/termite
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-14 01:15:55 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-08-14 01:18:34 +0200
commit122a4ba97ea8b6098eb8b569d6586283f42cffe4 (patch)
treeae7c991f75166dc36eec9966970b3aae2e65be21 /termite
parenta7b75428089c54b6544be51699de41789a56c47c (diff)
downloaddotfiles-122a4ba97ea8b6098eb8b569d6586283f42cffe4.tar.xz
zshrc: get_git_branch: Check HEAD file directly
This fixes errors from git when in a repo without any commits. Stolen (again) from Earnestly/dotfiles@a855e6bf Original-work-by: Earnestly <zibeon@gmail.com>
Diffstat (limited to 'termite')
0 files changed, 0 insertions, 0 deletions