feat(zsh): move p10k to XDG
This commit is contained in:
		
							
								
								
									
										1622
									
								
								zsh/.p10k.zsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1622
									
								
								zsh/.p10k.zsh
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -4,7 +4,7 @@ export XDG_CACHE_HOME="$HOME/.cache"
 | 
				
			|||||||
export XDG_DATA_HOME="$HOME/.local/share"
 | 
					export XDG_DATA_HOME="$HOME/.local/share"
 | 
				
			||||||
export XDG_STATE_HOME="$HOME/.local/state"
 | 
					export XDG_STATE_HOME="$HOME/.local/state"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
 | 
					# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.config/zsh/.zshrc.
 | 
				
			||||||
# Initialization code that may require console input (password prompts, [y/n]
 | 
					# Initialization code that may require console input (password prompts, [y/n]
 | 
				
			||||||
# confirmations, etc.) must go above this block; everything else may go below.
 | 
					# confirmations, etc.) must go above this block; everything else may go below.
 | 
				
			||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
 | 
					if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
 | 
				
			||||||
@@ -71,8 +71,8 @@ export EDITOR=nvim
 | 
				
			|||||||
source "$ZDOTDIR/aliases.zsh"
 | 
					source "$ZDOTDIR/aliases.zsh"
 | 
				
			||||||
source "$ZDOTDIR/functions.zsh"
 | 
					source "$ZDOTDIR/functions.zsh"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
 | 
					 | 
				
			||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# opam configuration
 | 
					# opam configuration
 | 
				
			||||||
[[ ! -r /Users/janezicmatej/.opam/opam-init/init.zsh ]] || source /Users/janezicmatej/.opam/opam-init/init.zsh  > /dev/null 2> /dev/null
 | 
					[[ ! -r /Users/janezicmatej/.opam/opam-init/init.zsh ]] || source /Users/janezicmatej/.opam/opam-init/init.zsh  > /dev/null 2> /dev/null
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh.
 | 
				
			||||||
 | 
					[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user