Muh dotfiles
This commit is contained in:
10
.config/yazi/init.lua
Normal file
10
.config/yazi/init.lua
Normal file
@ -0,0 +1,10 @@
|
||||
function Linemode:mtime()
|
||||
local time = math.floor(self._file.cha.mtime or 0)
|
||||
if time == 0 then
|
||||
return ""
|
||||
elseif os.date("%Y", time) == os.date("%Y") then
|
||||
return os.date("%d %b %H:%M", time)
|
||||
else
|
||||
return os.date("%d %b %y", time)
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user