我想查看配置了mysql的配置。我发现mysqlbug可以检索该信息,但我收到以下错误:
mysqlbug
Finding system information for a MySQL bug report
test -x
Could not find a text editor. (tried emacs)
You can change editor by setting the environment variable VISUAL.
If your shell is a bourne shell (sh) do
VISUAL=your_editors_name; export VISUAL
If your shell is a C shell (csh) do
setenv VISUAL your_editors_name
答案 0 :(得分:0)
这意味着你可以通过导出环境变量来选择使用你想要的编辑器vim,nano等而不是emacs。
只需导出VISUAL环境变量。用法示例:
export VISUAL=vim