configs  Diff

Differences From Artifact [f5d65e714e]:

To Artifact [e579611505]:


95
96
97
98
99
100
101



102
103

104
105
106
107
108
109
110
111
	}
fi
set_prompt

__precmd() {
	__update_terminal_cwd




	local branch=$(git symbolic-ref HEAD 2>/dev/null)
	branch=${branch##refs/heads/}

	[ "$branch" = master ] && branch=""
	set_prompt $branch
}

case $TERM in
	aterm|Eterm|rxvt*|uxterm*|xterm*)
		# Use set_title if you want to change the term title
		set_title() {







>
>
>
|
|
>
|







95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
	}
fi
set_prompt

__precmd() {
	__update_terminal_cwd

	local branch=$(fossil branch current 2>/dev/null)

	if [ -z "$branch" ]; then
		branch=$(git symbolic-ref HEAD 2>/dev/null)
		branch=${branch##refs/heads/}
	fi

	set_prompt $branch
}

case $TERM in
	aterm|Eterm|rxvt*|uxterm*|xterm*)
		# Use set_title if you want to change the term title
		set_title() {