You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 cool project! I've noticed that when re-sourcing zsh-syntax-highlighting.zsh the prompt will take longer each time to initialize. I happened to notice this as I was iterating on my config and repeatedly reloading .zshrc.
To reproduce:
I have the following alias that I use to reload my config:
alias rl='RELOAD=1 source ~/.zshrc'
This alias will become progressively slower when the following is added to my .zshrc:
👋 cool project! I've noticed that when re-sourcing `zsh-syntax-highlighting.zsh` the prompt will take longer each time to initialize. I happened to notice this as I was iterating on my config and repeatedly reloading `.zshrc`.
To reproduce:
I have the following alias that I use to reload my config:
```zsh
alias rl='RELOAD=1 source ~/.zshrc'
```
This command will become progressively slower when the following is added to my .zshrc:
```zsh
source /path_to_repo/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
```
If you source z-sy-h.zsh twice, syntax highlighting will be computed twice. That's by design.
👋 cool project! I've noticed that when re-sourcing
zsh-syntax-highlighting.zsh
the prompt will take longer each time to initialize. I happened to notice this as I was iterating on my config and repeatedly reloading.zshrc
.To reproduce:
I have the following alias that I use to reload my config:
This alias will become progressively slower when the following is added to my .zshrc:
source /path_to_repo/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
System info:
The text was updated successfully, but these errors were encountered: