#[SOLVED] zsh-syntax-highlighting is not working on startup, only when i source my .zshrc file again

20 messages · Page 1 of 1 (latest)

heavy carbon
#

like i said in the title, zsh syntax highlighting, which i downloaded through pacman, isnt working for me only if source my .zshrc file again through the terminal or i source the zsh-syntax-highlighting itself again does it start working

Here is my .zshrc file:
PS1='%c: '

alias zshrc='nvim ~/.zshrc'
alias c='clear'
alias qqq='exit'

source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

I'm hoping someone could help me solve this issue, cause i have no clue what could be causing it.
Thanks in advance

charred turtle
charred turtle
heavy carbon
charred turtle
#

Reboot first then run it to make sure it's clean output.

heavy carbon
# charred turtle Run this `zsh -xv 2>&1 | less`

so i ran the command and im not sure what to make of it, it shows that the zsh-syntax-highlighting loads but when i scroll down it doesnt stop and it gets really glitchy and eventually just shows a bunch of BOBOBOBOBOBOB over and over

charred turtle
charred turtle
heavy carbon
charred turtle
heavy carbon
#

im gonna try an older version

#

doesnt work either

charred turtle
heavy carbon
#

PS1='%c: '

alias zshrc='nvim ~/.zshrc'
alias c='clear'
alias qqq='exit'

source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

charred turtle
heavy carbon
cedar streamBOT
#

alpha_b_9 received a thank you cookie!