Compare commits

..

1 Commits

Author SHA1 Message Date
Nikolas Garofil c49b238f81
Merge 01808b3aae into f733dc340b 2024-12-27 12:55:44 +01:00
2 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,5 @@
certifi==2024.12.14
charset-normalizer==3.4.1
charset-normalizer==3.4.0
idna==3.10
PyYAML==6.0.2
requests==2.32.3

View File

@ -13,8 +13,6 @@ function afmagic_dashes {
# the prompt, account for it when returning the number of 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} ))
else
echo $COLUMNS
fi