mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 09:34:05 +08:00
opt some
This commit is contained in:
parent
4f44433478
commit
6959aae1fe
@ -63,7 +63,7 @@ func init() {
|
|||||||
switch arg[0] {
|
switch arg[0] {
|
||||||
case ctx.INDEX:
|
case ctx.INDEX:
|
||||||
m.Cmdy(ctx.COMMAND, mdb.SEARCH, ctx.COMMAND, ice.OptionFields(ctx.INDEX))
|
m.Cmdy(ctx.COMMAND, mdb.SEARCH, ctx.COMMAND, ice.OptionFields(ctx.INDEX))
|
||||||
default:
|
case nfs.FILE:
|
||||||
p := m.Option(nfs.PATH)
|
p := m.Option(nfs.PATH)
|
||||||
list := ice.Map{}
|
list := ice.Map{}
|
||||||
m.Cmd(FAVOR, "_recent_file").Tables(func(value ice.Maps) {
|
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.Cmd(FAVOR, "_system_app").Tables(func(value ice.Maps) {
|
||||||
m.Push(nfs.PATH, "_open:"+strings.ToLower(value[mdb.NAME]))
|
m.Push(nfs.PATH, "_open:"+strings.ToLower(value[mdb.NAME]))
|
||||||
})
|
})
|
||||||
|
default:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}},
|
}},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user