Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Im using Centos 6.3 and have customised my .bash_profile with the following commands to help with history completion (and colorising the prompt):

bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
bind '"show-all-if-ambiguous on"'
bind '"set completion-ignore-case on"' 

export PS1="[\[\e[32;1m\]\u@\h \[\e[33;1m\]\W\[\]]\[\e[37;1m\]\$ " 
[ -z "$PS1" ] && return
shopt -s checkwinsize

Now, at the command prompt when I type any word with an 's' character in it, I cannot see the character until I press spacebar or continue typing. How can I fix this behavior?

share|improve this question
up vote 2 down vote accepted

You need to remove the excess quotation marks from two of the bind commands and add the set instruction to one of them:

bind 'set show-all-if-ambiguous on'
bind 'set completion-ignore-case on'
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.