mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	fix!: default SHLVL to 0 instead of 1
This commit is contained in:
		
							parent
							
								
									ce0b2ab955
								
							
						
					
					
						commit
						34778a4bdf
					
				| @ -7,7 +7,7 @@ require 'succulent' -- Function additions | ||||
| local oldDir = hilbish.cwd() | ||||
| 
 | ||||
| local shlvl = tonumber(os.getenv 'SHLVL') | ||||
| if shlvl ~= nil then os.setenv('SHLVL', shlvl + 1) else os.setenv('SHLVL', 1) end | ||||
| if shlvl ~= nil then os.setenv('SHLVL', shlvl + 1) else os.setenv('SHLVL', 0) end | ||||
| 
 | ||||
| -- Builtins | ||||
| local recentDirs = {} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user