bash readline .inputrc

# http://www.linux.or.jp/JM/html/GNU_bash/man1/bash.1.html
set meta-flag on
set input-meta on
set output-meta on
set convert-meta off
set show-all-if-ambiguous on
set kanji-code sjis
set visible-stats on

#Control-a:beginning-of-line
Control-d:delete-char
Control-u:kill-whole-line
TAB:menu-complete
Control-g:insert-completions
# C-x C-r で .inputrc 再読み込み
"\C-x\C-r":re-read-init-file
#TAB:complete  : リストするだけ
# possible-completions  : 下に候補のリストを表示する
# insert-completions : 候補全てで置き換える
# menu-complete : 1つずつ候補を回っていく
DEL:delete-char