Skip to content

Commit

Permalink
🐛 Fix human theme double space after notification area
Browse files Browse the repository at this point in the history
  • Loading branch information
diogocavilha committed Apr 14, 2023
1 parent 9ab6435 commit afc0ae0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 @@ -140,7 +140,7 @@ fancygit_theme_builder() {
return
fi

PS1="${bold_prompt}${prompt_time}${prompt_user_at_host}${prompt_path}${venv_name} ${prompt_symbol}${is_double_line}${normal_prompt} "
PS1="${bold_prompt}${prompt_time}${prompt_user_at_host}${prompt_path}${venv_name}${prompt_symbol}${is_double_line}${normal_prompt} "
}

# Here's where the magic happens!
Expand Down

0 comments on commit afc0ae0

Please sign in to comment.