Skip to content

Commit

Permalink
Merge pull request #130 from diogocavilha/fix/theme-human
Browse files Browse the repository at this point in the history
🐛 Fix theme human prompt space between symbols
  • Loading branch information
diogocavilha authored Apr 11, 2023
2 parents 85f7f32 + 9f71898 commit 150a27c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

> Any trouble, please visit the [troubleshooting page](https://github.com/diogocavilha/fancy-git/blob/master/TROUBLESHOOTING.md)
## v7.2.0
- Fix theme human prompt space between symbols.

## v7.1.9
- 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)

Expand Down
2 changes: 1 addition & 1 deletion theme-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ __fancygit_get_poor_notification_area() {
# Trim notification_area content
notification_area=$(echo "$notification_area" | sed -e 's/[[:space:]]*$//' | sed -e 's/^[[:space:]]*//')

echo "${notification_area//[[:space:]]*$/}"
echo "${notification_area//[[:space:]]*$/} "
return
fi

Expand Down
2 changes: 1 addition & 1 deletion themes/human.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ fancygit_theme_builder() {
then
prompt_path="${path_git}${path_sign}${path_end}"
prompt_branch="${branch}${branch_name}${branch_end}"
PS1="${prompt_time}${prompt_user_at_host}${prompt_path}${venv_name} on ${prompt_branch} $(fancygit_get_notification_area "$is_rich_notification") "
PS1="${prompt_time}${prompt_user_at_host}${prompt_path}${venv_name} on ${prompt_branch} $(fancygit_get_notification_area "$is_rich_notification")"
PS1="${PS1}${prompt_symbol}${is_double_line} "
return
fi
Expand Down
2 changes: 1 addition & 1 deletion version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Author: Diogo Alexsander Cavilha <[email protected]>
# Date: 11.17.2017

export FANCYGIT_VERSION="7.1.8"
export FANCYGIT_VERSION="7.2.0"

0 comments on commit 150a27c

Please sign in to comment.