mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	fix: add home to recent dirs when visited (cd with no args)
This commit is contained in:
		
							parent
							
								
									2f809e398c
								
							
						
					
					
						commit
						bfc141f655
					
				| @ -37,6 +37,9 @@ commander.register('cd', function (args) | |||||||
| 	end | 	end | ||||||
| 	fs.cd(hilbish.home) | 	fs.cd(hilbish.home) | ||||||
| 	bait.throw('cd', hilbish.home) | 	bait.throw('cd', hilbish.home) | ||||||
|  | 
 | ||||||
|  | 	table.insert(recentDirs, 1, hilbish.home) | ||||||
|  | 	recentDirs[11] = nil | ||||||
| end) | end) | ||||||
| 
 | 
 | ||||||
| commander.register('exit', function() | commander.register('exit', function() | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user