现在的位置: 首页 > 操作系统 > 正文

ubuntu 启动gvim 出现 GLib-GObject-WARNING

2018年01月14日 操作系统 ⁄ 共 263字 ⁄ 字号 评论关闭

For solving this, I added an alias to run gvim with all stderr messages discarded.

Just add the following line to your .bashrc file:

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

I hate these types of errors and warnings when the program I'm using is beyond my control and it prints a lot of these which distract me from what I'm doing.

抱歉!评论已关闭.