When I connect to my root account on DigitalOcean with ssh, everything goes super: I got a colored prompt, up-arrow for history, auto-completion, the works. I created a new user with useradd -d /home/myuser, and when I login with that user, I have nothing of the kind: the shell works but my up-arrow does ^[[A, I have no no color and no auto-completion.
My local .bashrc is similar to the root account’s .bashrc but was created automatically (it also created .bash_logout, .cache, .profile, .viminfo).
How can I create decent behaviors for my user accounts ?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.