lowcase homedir
This commit is contained in:
parent
c7069c3b78
commit
706b07fd33
9 changed files with 76 additions and 59 deletions
|
@ -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 })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue