懒龙谷
  • Home
  • Categories
  • Tags
  • Archives

KSH自动补全

设置KSH的自动补全和历史命令功能

- 方法一:

set -o vi

历史命令功能(esc -,esc +)自动补全文件名(esc \)。

- 方法二:

set -o emacs

历史命令功能(ctrl-n,ctrl-p),自动补全文件名(按两次esc)。


找不到自动补全命令的功能,还是bash比较人性化。

this guy is lazy, nothing leave

Comments
comments powered by Disqus

  • « profile设置
  • 端口监听 »

Published

May 4, 2014

Category

shell

Stay in Touch

  • Powered by Pelican. Theme: Elegant by Talha Mansoor