basic module support
This commit is contained in:
		
							
								
								
									
										3
									
								
								modules/ssh.zsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								modules/ssh.zsh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
function zle-accept-line-with-ssh () {
 | 
			
		||||
	echo "stub"
 | 
			
		||||
}
 | 
			
		||||
@@ -7,4 +7,10 @@ PROMPT="%{$fg_bold[cyan]%}%n%{$fg_bold[white]%}@%{$fg_bold[magenta]%}%m %{$fg_bo
 | 
			
		||||
source ~/.local/share/zeesh/base/precmd.zsh
 | 
			
		||||
source ~/.local/share/zeesh/base/updates.zsh 
 | 
			
		||||
 | 
			
		||||
# TODO: handle whether or not to load given modules]
 | 
			
		||||
for module in ~/.local/share/zeesh/modules/*.zsh; do
 | 
			
		||||
	ticker_message "zeesh: loading module ${module}"
 | 
			
		||||
	source ${module}
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
ticker_finish
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user