0
を~/.inputrc
に設定しようとしていますが、このオプションは無視されているようです。私がタブを押すと、大文字と小文字を区別する一致のみが表示されます。ここで〜/ .inputrcで "set completion-ignore-case on"が無視される
は私~/.inputrc
です:奇妙な
# Bash input configuration
set completion-ignore-case on #Enable case-insensitive tab-complete
"\e[A": history-search-backward #Press up or down arrow to search through shell history on what you've already typed
"\e[B": history-search-forward
#"\e[1;9C": forward-word #alt-left/right to move the cursor by words
#"\e[1;9D": backward-word #I prefer to enable this in iTerm settings so it works no matter where I'm ssh'd to.
、history-search-backward
と-forward
設定は作業を行うので、~/.inputrc
はが読み込まなっているが、completion-ignore-case
は何とか無視なっています。
bind "set completion-ignore-case on"
を実行すると、予想される動作が得られます。私は~/.inputrc
で他の変数set
を試してみましたが、うまくいきました。
私はMacOS 10.12.4とbash 4.4.12(1)-release(homebrew経由でインストール)を実行しています。
* facepalm *私はそれが問題だとは思わない。あなたはinputrcのコマンドと同じ行にコメントを書くことはできません。 – whereswalden