1
0
forked from x/icebergs
This commit is contained in:
shaoying 2020-04-12 16:44:59 +08:00
parent 4bd3e6064c
commit dec1d8ac1e
2 changed files with 2 additions and 8 deletions

View File

@ -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] {

View File

@ -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'