mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	this commit has 2 changes: - preload.lua is now init.lua in the prelude folder. the reason for the name change of preload to prelude is to make update/ overwrite not hell - the guide command has been added which is a simple step through getting started type of thing for new users
		
			
				
	
	
		
			21 lines
		
	
	
		
			750 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			750 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // +build darwin
 | |
| 
 | |
| package main
 | |
| 
 | |
| // String vars that are free to be changed at compile time
 | |
| var (
 | |
| 	requirePaths = commonRequirePaths + `.. ';'
 | |
| 	.. hilbish.dataDir .. '/libs/?/init.lua;'
 | |
| 	.. hilbish.dataDir .. '/libs/?/?.lua;'` + macosUserPaths
 | |
| 	macosUserPaths = `
 | |
| 	.. hilbish.userDir.data     .. '/hilbish/libs/?/init.lua;'
 | |
| 	.. hilbish.userDir.data	    .. '/hilbish/libs/?/?.lua;'
 | |
| 	.. hilbish.userDir.data	    .. '/hilbish/libs/?.lua;'
 | |
| 	.. hilbish.userDir.config	.. '/hilbish/?/init.lua;'
 | |
| 	.. hilbish.userDir.config	.. '/hilbish/?/?.lua;'
 | |
| 	.. hilbish.userDir.config	.. '/hilbish/?.lua'`
 | |
| 	dataDir = "/usr/local/share/hilbish"
 | |
| 	preloadPath = dataDir + "/prelude/init.lua"
 | |
| 	sampleConfPath = dataDir + "/.hilbishrc.lua" // Path to default/sample config
 | |
| )
 |