Closed yanmxa closed 1 year ago
After souce the ~/.zshrc. the terminal keeps echoing the following information in my centos.
$ my_git_prompt_info:1: scalar parameter ref created globally in function my_git_prompt_info
I don't know how to fix it.
Refs: https://github.com/zsh-users/zsh-syntax-highlighting/issues/438
It's a WARN_CREATE_GLOBAL warning (see the manual).
Chances are that function needs local ref added to it.
local ref
Closing since you don't even seem to use zsh-syntax-highlighting.
After souce the ~/.zshrc. the terminal keeps echoing the following information in my centos.
I don't know how to fix it.
Refs: https://github.com/zsh-users/zsh-syntax-highlighting/issues/438