Skip to content

Powerlevel10k instant prompt #133

Answered by marlonrichert
Pilgrim1379 asked this question in Q&A
Discussion options

You must be logged in to vote

No, not really. P10k generates that file itself and, apparently, gives no guarantee that the file will be there at any given point in time.

You could refactor the code a little, though:

() { [[ -r $1 ]] && source $1 } ${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-$USERNAME.zsh

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Pilgrim1379
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants