Merge branch 'ohmyzsh:master' into add-stash-info

This commit is contained in:
Jacob M Olson 2025-12-29 13:07:26 -07:00 committed by GitHub
commit 9d28e69a22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
137 changed files with 2850 additions and 1002 deletions

View file

@ -14,7 +14,7 @@ function afmagic_dashes {
if [[ -n "$python_env" && "$PS1" = *\(${python_env}\)* ]]; then
echo $(( COLUMNS - ${#python_env} - 3 ))
elif [[ -n "$VIRTUAL_ENV_PROMPT" && "$PS1" = *${VIRTUAL_ENV_PROMPT}* ]]; then
echo $(( COLUMNS - ${#VIRTUAL_ENV_PROMPT} ))
echo $(( COLUMNS - ${#VIRTUAL_ENV_PROMPT} - 3 ))
else
echo $COLUMNS
fi