How to enable autocompletion in screen

You may have noticed that when you are using screen, auto-completion (bash-completion) stops working.

This can be remedied by creating a file called .screenrc in your home directory and adding to it “defshell -bash”. ¬†You can also paste the following into your console and restart your server

echo "defshell -bash" >> ~/.screenrc

You may also like...

2 Responses

  1. Matt Salmon says:

    Hi there, thanks for the tip, would like to say there should really be two right arrows otherwise your existing screenrc will be overwritten :

    echo “defshell -bash” >> ~/.screenrc

Leave a Reply