Skip to content

Commit 150a27c

Browse files
authored
Merge pull request #130 from diogocavilha/fix/theme-human
🐛 Fix theme human prompt space between symbols
2 parents 85f7f32 + 9f71898 commit 150a27c

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
> Any trouble, please visit the [troubleshooting page](https://github.com/diogocavilha/fancy-git/blob/master/TROUBLESHOOTING.md)
44
5+
## v7.2.0
6+
- Fix theme human prompt space between symbols.
7+
58
## v7.1.9
69
- Add --nofontconfig option to install.sh to skip creation of ~/.fonts and requirement for fontconfig to be installed (useful option for those only accessing a headless server via SSH where the font needs to be set on their local terminal application)
710

theme-functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ __fancygit_get_poor_notification_area() {
137137
# Trim notification_area content
138138
notification_area=$(echo "$notification_area" | sed -e 's/[[:space:]]*$//' | sed -e 's/^[[:space:]]*//')
139139

140-
echo "${notification_area//[[:space:]]*$/}"
140+
echo "${notification_area//[[:space:]]*$/} "
141141
return
142142
fi
143143

themes/human.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ fancygit_theme_builder() {
116116
then
117117
prompt_path="${path_git}${path_sign}${path_end}"
118118
prompt_branch="${branch}${branch_name}${branch_end}"
119-
PS1="${prompt_time}${prompt_user_at_host}${prompt_path}${venv_name} on ${prompt_branch} $(fancygit_get_notification_area "$is_rich_notification") "
119+
PS1="${prompt_time}${prompt_user_at_host}${prompt_path}${venv_name} on ${prompt_branch} $(fancygit_get_notification_area "$is_rich_notification")"
120120
PS1="${PS1}${prompt_symbol}${is_double_line} "
121121
return
122122
fi

version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Author: Diogo Alexsander Cavilha <diogocavilha@gmail.com>
44
# Date: 11.17.2017
55

6-
export FANCYGIT_VERSION="7.1.8"
6+
export FANCYGIT_VERSION="7.2.0"

0 commit comments

Comments
 (0)