1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
This commit is contained in:
harveyshao 2022-10-21 11:38:58 +08:00
parent 4f44433478
commit 6959aae1fe

View File

@ -63,7 +63,7 @@ func init() {
switch arg[0] {
case ctx.INDEX:
m.Cmdy(ctx.COMMAND, mdb.SEARCH, ctx.COMMAND, ice.OptionFields(ctx.INDEX))
default:
case nfs.FILE:
p := m.Option(nfs.PATH)
list := ice.Map{}
m.Cmd(FAVOR, "_recent_file").Tables(func(value ice.Maps) {
@ -84,6 +84,7 @@ func init() {
m.Cmd(FAVOR, "_system_app").Tables(func(value ice.Maps) {
m.Push(nfs.PATH, "_open:"+strings.ToLower(value[mdb.NAME]))
})
default:
}
}
}},