在终端下面打开gvim会出现下面的错误:

GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

看起来会不舒服,可一在 .bashrc下面做个alias 规避错误提示

在 ~/.basrc下面添加一条alias:

alias gvim='gvim 2>/dev/null'

解决!

05-06 07:40