Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/bold prompt #137

Merged
merged 4 commits into from
Apr 14, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🐛 Fix human theme double space after notification area
diogocavilha committed Apr 14, 2023
commit afc0ae03dd843537f8932a0362bbc52f116d46bc
2 changes: 1 addition & 1 deletion theme-functions.sh
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion themes/human.sh
Original file line number Diff line number Diff line change
@@ -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!