Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a root bash profile setup which has autocomplete and all the nice colours, but there is nothing setup for my actual user (non root).

So I decided to copy the files .bashrc and .profile from /root to my home folder: /home/steve.

I also changed permission steve:steve 775

However my bash is still not setup.

Any ideas?

share|improve this question
    
Did you try source ~/.bashrc? –  devnull Mar 19 at 10:21
    
it says source not found, when I call as root it returns nothing. –  Stevie G Mar 19 at 10:27
    
It seems that you are not using bash. Try echo $SHELL; it should produce bash. If not, change your shell. Try logging in and out or opening a new terminal window for the changes to ~/.bashrc to take effect. –  devnull Mar 19 at 11:21
    
echo $SHELL returns /bin/sh...I am not using a desktop environment it is purely terminal –  Stevie G Mar 19 at 11:37
1  
you are not using bash. in /etc/passwd change /bin/sh to /bin/bash for user steve –  chaput Mar 19 at 12:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.