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
On my XPS 13 (2017) laptop, sometimes when i open a terminal, I it shows the following before the prompt;
/home/rieje/.config/zsh/.zshrc:source:87: no such file or directory: /home/rieje/.cache/p10k-instant-prompt-rieje.zsh
I have instant prompt enabled. is my system just too slow? Is there a way to hide this (harmless?) error?
I have the following in my .zshrc before the instant prompt is loaded (it's at the top because I want plugins to be installed if they are not already so it's self-contained--this includes Powerlevel10k. I also tested doing the plugins part after instant prompt):
fpath=(
$XDG_CACHE_HOME/zsh/zsh-completions--zsh-users/src # Plugin: zsh-completions
$ZDOTDIR/completions
$ZDOTDIR/autoload
$fpath
)
# Autoload functions
autoload -Uz $ZDOTDIR/autoload/*(.:t)
# Plugins
local -Ua ZPLUGS=(
romkatv/powerlevel10k # Optimized shell prompt
zsh-users/zsh-autosuggestions # Suggest commands based on history and completions
zsh-users/zsh-completions # Additional completions
zdharma-continuum/fast-syntax-highlighting # Less buggy and more performant than zsh-users/zsh-syntax-highlighting
MichaelAquilina/zsh-you-should-use # Reminder for existing aliase for commands typed
felipec/git-completion # Better git completions
)
plug-clone $ZPLUGS
source $XDG_CACHE_HOME/p10k-instant-prompt-${(%):-%n}.zsh
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
On my XPS 13 (2017) laptop, sometimes when i open a terminal, I it shows the following before the prompt;
/home/rieje/.config/zsh/.zshrc:source:87: no such file or directory: /home/rieje/.cache/p10k-instant-prompt-rieje.zsh
I have instant prompt enabled. is my system just too slow? Is there a way to hide this (harmless?) error?
I have the following in my .zshrc before the instant prompt is loaded (it's at the top because I want plugins to be installed if they are not already so it's self-contained--this includes Powerlevel10k. I also tested doing the plugins part after instant prompt):
Beta Was this translation helpful? Give feedback.
All reactions