Make ZSH colors array be available everywhere.
This commit is contained in:
		
							
								
								
									
										2
									
								
								zsh/02-colors.zsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								zsh/02-colors.zsh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | autoload -U colors | ||||||
|  | colors | ||||||
| @@ -1,4 +0,0 @@ | |||||||
| function main() |  | ||||||
| { |  | ||||||
|     // |  | ||||||
| } |  | ||||||
| @@ -16,8 +16,6 @@ prompt_pztrn_setup () { | |||||||
|  |  | ||||||
|     local p_date p_tty p_plat p_userpwd p_shlvlhist p_rc p_end p_win p_path |     local p_date p_tty p_plat p_userpwd p_shlvlhist p_rc p_end p_win p_path | ||||||
|  |  | ||||||
|     autoload -U colors |  | ||||||
|     colors |  | ||||||
|  |  | ||||||
|     # Session-dependend colorizing. |     # Session-dependend colorizing. | ||||||
|     # Local will be black, remote - yellow. |     # Local will be black, remote - yellow. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user