LINUX環境構築/CentOS4.0/history-search-forward

Last-modified: 2010-03-18 (木) 23:17:17

コマンド履歴を使いやすくする
入力した先頭文字から始まる履歴を探し出す

/.inputrc に以下を追加
masami@ubuntu-vm:~$ cat .inputrc
"\C-p":history-search-backward
"\C-n":history-search-forward
"\e[A":history-search-backward
"\e[B":history-search-forward