ubuntu 启动gvim 出现 GLib-GObject-WARNING

来源:互联网 发布:中国isis知乎 编辑:程序博客网 时间:2024/05/19 03:30

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.

0 0
原创粉丝点击