1
1
Fork 0

Fix spacing errors

This commit is contained in:
Jonathan Schleifer 2020-05-24 11:34:52 +00:00
parent eb1be169aa
commit 5a460cd7e1

2
zshrc
View file

@ -100,12 +100,12 @@ __precmd() {
__update_terminal_cwd __update_terminal_cwd
local branch="" local branch=""
local fossil_branch=$(fossil branch current 2>/dev/null) local fossil_branch=$(fossil branch current 2>/dev/null)
if [ -n "$fossil_branch" ]; then if [ -n "$fossil_branch" ]; then
branch="$branch${branch:+ }f:$fossil_branch" branch="$branch${branch:+ }f:$fossil_branch"
fi fi
local git_branch=$(git symbolic-ref HEAD 2>/dev/null) local git_branch=$(git symbolic-ref HEAD 2>/dev/null)
git_branch=${git_branch##refs/heads/} git_branch=${git_branch##refs/heads/}
if [ -n "$git_branch" ]; then if [ -n "$git_branch" ]; then