在终端下面打开gvim会出现下面的错误:
GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
看起来会不舒服,可一在 .bashrc下面做个alias 规避错误提示
在 ~/.basrc下面添加一条alias:
alias gvim='gvim 2>/dev/null'
解决!
在终端下面打开gvim会出现下面的错误:
GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
看起来会不舒服,可一在 .bashrc下面做个alias 规避错误提示
在 ~/.basrc下面添加一条alias:
alias gvim='gvim 2>/dev/null'
解决!
转载于:https://www.cnblogs.com/dying/p/3604292.html