의 미러
https://github.com/Hilbis/Hilbish
synced 2025-07-01 00:32:03 +00:00
fix: add home to recent dirs when visited (cd with no args)
This commit is contained in:
부모
2f809e398c
커밋
bfc141f655
@ -37,6 +37,9 @@ commander.register('cd', function (args)
|
||||
end
|
||||
fs.cd(hilbish.home)
|
||||
bait.throw('cd', hilbish.home)
|
||||
|
||||
table.insert(recentDirs, 1, hilbish.home)
|
||||
recentDirs[11] = nil
|
||||
end)
|
||||
|
||||
commander.register('exit', function()
|
||||
|
불러오는 중...
x
Reference in New Issue
Block a user