1

I've followed Tab completion doesn't work for commands and tab completion of filenames is working for this command:

ls  /home/login/public/ui.<TAB>   

But not working for this command

drush arr /home/login/public/ui.<TAB> 

in $SHELL /bin/bash is there. Mine is completely new install. I've placed this code in the .bashrc:

if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
    . /etc/bash_completion
fi

/etc/bash_completion exists

Tab completion doesn't work for commands

2
  • Both those commands do tab completion correctly for me. Tab completion can be modified by a .initrc file in your home directory. Do you have such a file? Mar 14, 2018 at 15:28
  • @JohnAnderson no this file is not there.
    – user5858
    Mar 19, 2018 at 15:17

0

You must log in to answer this question.

Browse other questions tagged .