Case-insensitive completion in Bash

This commit is contained in:
Anthony Rose 2020-12-27 16:55:53 +00:00
parent b269857f7d
commit 59d7bea98b

View file

@ -104,6 +104,7 @@ if [ "$BASH" ]; then
bind '"\e[1;5D": backward-word' bind '"\e[1;5D": backward-word'
bind '"\e[A": history-search-backward' bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward' bind '"\e[B": history-search-forward'
bind 'set completion-ignore-case on'
if test $(id -u) -eq 0; then if test $(id -u) -eq 0; then
export PS1="\[\033[01;32m\]\h\[\033[01;31m\]\#\[\033[00m\] " export PS1="\[\033[01;32m\]\h\[\033[01;31m\]\#\[\033[00m\] "