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
hey! great plugin. but a problem with powerlevel10k: it gets an error that something printed during login
Define a new variable at the start of your script to track the initialization status. Set this variable initially to false: AUTO_LS_INIT_COMPLETE=false
At the end of your .zshrc or after all initialization scripts, set this variable to true to indicate that the shell is fully initialized: AUTO_LS_INIT_COMPLETE=true
Modify the auto-ls function to check this variable before executing:
auto-ls () {
if [[ $AUTO_LS_INIT_COMPLETE == false ]]; then
return
fi
# Existing auto-ls code...
}
This modification ensures that the auto-ls function will only execute after your shell is fully initialized and the AUTO_LS_INIT_COMPLETE variable is set to true.
The text was updated successfully, but these errors were encountered:
hey! great plugin. but a problem with powerlevel10k: it gets an error that something printed during login

Define a new variable at the start of your script to track the initialization status. Set this variable initially to false:
AUTO_LS_INIT_COMPLETE=false
At the end of your .zshrc or after all initialization scripts, set this variable to true to indicate that the shell is fully initialized:
AUTO_LS_INIT_COMPLETE=true
Modify the auto-ls function to check this variable before executing:
This modification ensures that the auto-ls function will only execute after your shell is fully initialized and the AUTO_LS_INIT_COMPLETE variable is set to true.
The text was updated successfully, but these errors were encountered: