mirror of https://github.com/ohmyzsh/ohmyzsh.git
Compare commits
1 Commits
a091727ac1
...
c49b238f81
Author | SHA1 | Date |
---|---|---|
Nikolas Garofil | c49b238f81 |
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue