forked from x/icebergs
opt some
This commit is contained in:
parent
4bd3e6064c
commit
dec1d8ac1e
@ -1821,12 +1821,6 @@ var Index = &ice.Context{Name: "web", Help: "网络模块",
|
|||||||
})
|
})
|
||||||
}},
|
}},
|
||||||
ice.WEB_PROXY: {Name: "proxy", Help: "代理", Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
ice.WEB_PROXY: {Name: "proxy", Help: "代理", Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
||||||
if arg[0] == "" {
|
|
||||||
// 本机命令
|
|
||||||
m.Cmdy(arg[1:])
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
m.Richs(ice.WEB_SPACE, nil, kit.Select(m.Conf(ice.WEB_FAVOR, "meta.proxy"), arg[0]), func(key string, value map[string]interface{}) {
|
m.Richs(ice.WEB_SPACE, nil, kit.Select(m.Conf(ice.WEB_FAVOR, "meta.proxy"), arg[0]), func(key string, value map[string]interface{}) {
|
||||||
if value[kit.MDB_TYPE] == ice.WEB_BETTER {
|
if value[kit.MDB_TYPE] == ice.WEB_BETTER {
|
||||||
switch value[kit.MDB_NAME] {
|
switch value[kit.MDB_NAME] {
|
||||||
|
@ -187,8 +187,8 @@ ShyInit() {
|
|||||||
# bash
|
# bash
|
||||||
bind -x '"\C-G\C-R":ShySync base'
|
bind -x '"\C-G\C-R":ShySync base'
|
||||||
bind -x '"\C-G\C-G":ShySync history'
|
bind -x '"\C-G\C-G":ShySync history'
|
||||||
bind -x '"\C-P":history-search-backward'
|
# bind -x '"\C-P":history-search-backward'
|
||||||
bind -x '"\C-N":history-search-forward'
|
# bind -x '"\C-N":history-search-forward'
|
||||||
|
|
||||||
# bind 'TAB:complete'
|
# bind 'TAB:complete'
|
||||||
bind 'TAB:menu-complete'
|
bind 'TAB:menu-complete'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user