ubuntu下规避终端打开gvim出现的错误
在终端下面打开gvim会出现下面的错误:
GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
看起来会不舒服,可一在 .bashrc下面做个alias 规避错误提示
在 ~/.basrc下面添加一条alias:
alias gvim='gvim 2>/dev/null'
解决!
Live Like You're Dying And Never Stop Tying