mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			438 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			438 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package main
 | |
| 
 | |
| // String vars that are free to be changed at compile time
 | |
| var (
 | |
| 	version = "v2.0.0"
 | |
| 	defaultHistDir = ""
 | |
| 	commonRequirePaths = "';./libs/?/init.lua;./?/init.lua;./?/?.lua'"
 | |
| 
 | |
| 	prompt string
 | |
| 	multilinePrompt = "> "
 | |
| )
 | |
| 
 | |
| // Flags
 | |
| var (
 | |
| 	running bool // Is a command currently running
 | |
| 	interactive bool
 | |
| 	login bool // Are we the login shell?
 | |
| 	noexecute bool // Should we run Lua or only report syntax errors
 | |
| 	initialized bool
 | |
| )
 | |
| 
 |