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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeating source zsh-syntax-highlighting.zsh becomes slow #906

Open
jrowlingson opened this issue Dec 3, 2022 · 1 comment
Open

Repeating source zsh-syntax-highlighting.zsh becomes slow #906

jrowlingson opened this issue Dec 3, 2022 · 1 comment

Comments

@jrowlingson
Copy link

jrowlingson commented Dec 3, 2022

馃憢 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:

source /path_to_repo/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

System info:

zsh-syntax-highlighting#b2c910a
$ zsh --version
zsh 5.8 (x86_64-ubuntu-linux-gnu)
@danielshahaf
Copy link
Member

danielshahaf commented Dec 6, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants