the base begins
This commit is contained in:
		
							
								
								
									
										11
									
								
								base/zeesh.zsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								base/zeesh.zsh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					function ticker_message () {
 | 
				
			||||||
 | 
					    # TODO: get cols and scale
 | 
				
			||||||
 | 
					    printf "\r                                                    \r"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    printf "$@"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function ticker_finish () {
 | 
				
			||||||
 | 
					    # TODO: get cols and scale
 | 
				
			||||||
 | 
					    printf "\r                                                    \r"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										7
									
								
								zeesh.zsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								zeesh.zsh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					source ~/.local/share/zeesh/base/zeesh.zsh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ticker_message "zeesh: bootstrap"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					PROMPT="%{$fg_bold[cyan]%}%n%{$fg_bold[white]%}@%{$fg_bold[magenta]%}%m %{$fg_bold[white]%}%~ %# %{$reset_color%}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ticker_finish
 | 
				
			||||||
@@ -16,3 +16,10 @@ if type md5sum &> /dev/null; then
 | 
				
			|||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[[ _zshrc_updates_pending -eq 1 ]] && printf "zeesh: stub updates pending\n"
 | 
					[[ _zshrc_updates_pending -eq 1 ]] && printf "zeesh: stub updates pending\n"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# kick things off
 | 
				
			||||||
 | 
					fpath=(
 | 
				
			||||||
 | 
					    ~/.local/share/zeesh/plugins
 | 
				
			||||||
 | 
					    "${fpath[@]}"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					source ~/.local/share/zeesh/base/zeesh.zsh
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user