lowcase homedir

This commit is contained in:
Matt Nish-Lapidus 2025-06-22 23:40:17 -04:00
parent c7069c3b78
commit 706b07fd33
9 changed files with 76 additions and 59 deletions

View file

@ -1,7 +1,7 @@
local function setup()
ps.sub("cd", function()
local cwd = cx.active.current.cwd
if cwd:ends_with("Downloads") then
if cwd:ends_with("downloads") then
ya.mgr_emit("sort", { "mtime", reverse = true, dir_first = false })
else
ya.mgr_emit("sort", { "alphabetical", reverse = false, dir_first = true })