configs  Check-in [8ed8fb5afa]

Overview
Comment:Fix spacing errors
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8ed8fb5afa712af1dfdd49be3b73096d394ca59a42d7556ab0925d80321c538c
User & Date: js 2020-05-24 11:34:52
Context
2020-05-24
13:19
zshrc: Provide fallback when colordiff is missing check-in: ea72aa4093 user: js tags: trunk
11:34
Fix spacing errors check-in: 8ed8fb5afa user: js tags: trunk
00:24
Pass -N to fossil diff for fsld check-in: e18743ad0f user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to zshrc.

96
97
98
99
100
101
102

103
104
105
106
107
108
109
110
111
112
113
114
fi
set_prompt

__precmd() {
	__update_terminal_cwd

	local branch=""

	local fossil_branch=$(fossil branch current 2>/dev/null)
	if [ -n "$fossil_branch" ]; then
		branch="$branch${branch:+ }f:$fossil_branch"
	fi

	
	local git_branch=$(git symbolic-ref HEAD 2>/dev/null)
	git_branch=${git_branch##refs/heads/}
	if [ -n "$git_branch" ]; then
		branch="$branch${branch:+ }g:$git_branch"
	fi








>




<







96
97
98
99
100
101
102
103
104
105
106
107

108
109
110
111
112
113
114
fi
set_prompt

__precmd() {
	__update_terminal_cwd

	local branch=""

	local fossil_branch=$(fossil branch current 2>/dev/null)
	if [ -n "$fossil_branch" ]; then
		branch="$branch${branch:+ }f:$fossil_branch"
	fi

	
	local git_branch=$(git symbolic-ref HEAD 2>/dev/null)
	git_branch=${git_branch##refs/heads/}
	if [ -n "$git_branch" ]; then
		branch="$branch${branch:+ }g:$git_branch"
	fi