Skip to content

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
Published inLinux

2 Comments

  1. Matt Salmon Matt Salmon

    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

%d bloggers like this: