mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			410 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			410 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
-- Default Hilbish config
 | 
						|
package.path = package.path .. ';./libs/?/init.lua;/usr/share/hilbish/libs/?/init.lua'
 | 
						|
 | 
						|
fs = require 'fs'
 | 
						|
commander = require 'commander'
 | 
						|
 | 
						|
commander.register("cd", function (path)
 | 
						|
	if path then
 | 
						|
		fs.cd(path[1])
 | 
						|
	end
 | 
						|
end)
 | 
						|
 | 
						|
local ansikit = require 'ansikit'
 | 
						|
 | 
						|
prompt(ansikit.text('λ {bold}{cyan}'..os.getenv('USER')..' >{magenta}>{cyan}>{reset} '))
 | 
						|
 | 
						|
--hook("tab complete", function ())
 |