diff --git a/core/chat/chat.go b/core/chat/chat.go index 4c595022..8d16921c 100644 --- a/core/chat/chat.go +++ b/core/chat/chat.go @@ -396,7 +396,7 @@ var Index = &ice.Context{Name: "chat", Help: "聊天中心", "/header": {Name: "/header", Help: "菜单栏", Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {}}, "/footer": {Name: "/input", Help: "输入", Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) { m.Echo(m.Conf(ice.WEB_SHARE, "meta.email")) - m.Echo(m.Conf(ice.WEB_SHARE, "meta.record")) + m.Echo(m.Conf(ice.WEB_SHARE, "meta.legal")) }}, "/target": {Name: "/target", Help: "对话框", Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {}}, diff --git a/misc/zsh/auto.sh b/misc/zsh/auto.sh index 9361c1fd..ac83063a 100644 --- a/misc/zsh/auto.sh +++ b/misc/zsh/auto.sh @@ -177,6 +177,8 @@ ShyInit() { # bash bind -x '"\C-G\C-R":ShySync base' bind -x '"\C-G\C-G":ShySync history' + bind -x '"\C-P":history-search-backward' + bind -x '"\C-N":history-search-forward' # bind 'TAB:complete' bind 'TAB:menu-complete' @@ -194,8 +196,8 @@ ShyInit() { fi echo "url: ${ctx_url}" - echo -n "pid: $$ " - echo -n "begin: ${ctx_begin} " - echo -n "share: ${ctx_share} " - echo "pane: $TMUX_PANE " + echo -n "pid: $$" + echo -n "begin: ${ctx_begin}" + echo -n "share: ${ctx_share}" + echo "pane: $TMUX_PANE" }