Porque bind ~/.inputrc
é um comando para ligar a sequência de chaves /home/aliteralmind/inputrc
, em que /home/aliteralmind
é o seu diretório inicial. Isso liga /
a uma chave de prefixo para a qual nenhuma ligação é definida, portanto, pressionar a tecla /
depois não faz nada.
Para ler um arquivo readline do bash, use
bind -f ~/.inputrc
Este exemplo em particular não é muito útil, já que ~/.inputrc
é lido quando o bash é iniciado. O único uso é carregar suas novas ligações se você alterar o arquivo (isso não removerá ligações que você removeu).