dreamhost crontab修改默认编辑器

dreamhost使用的是debian的系统,这个系统默认的编辑器是nano,习惯了vim,这个感觉非常的不好用;网上搜了一下debian的修改方法在dreamhost都不管用,最后从dreamhost的文档中找到了设置方法,分享出来:

修改文件~/bash_profile加入

export EDITOR=”/usr/bin/vim”

重新登录一下就ok了。

This entry was posted in Internet and tagged , . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>