On 04/03/14 15:19, Bruce Dubbs wrote: > rhubarbpie...@gmail.com wrote: >> On 04/03/14 10:44, Bruce Dubbs wrote: >> Your suggested "~/.bashrc" then "source ~/.bashrc" steps fix the >> prompt. But I still can't source a script and subsequent xterm windows >> show the old prompt. > Edit four files: /etc/profile, /etc/bashrc, ~/.bash_profile, ~/.bashrc > > In each file, add as the second line: > > echo <the filename> > > Then when xterm comes up, see what is being run. It should be: > > ~/.bashrc > /etc/bashrc > > Note: I do this to ensure the files are being run and the sequence of > the files. > > What happens if you do 'type source'? The result should be: > > source is a shell builtin > > > -- Bruce I echoed the file names as you suggested and prior to invoking X the order is:
/etc/profile .bash_profile .bashrc /etc/bashrc However, I saw nothing when starting X. So I redirected the output to a file. Prior to starting X I see the above. I then nuked the output file and started X but nothing wrote to the file. I attempted the same with BLFS 7.4 and my output after starting X is: .bashrc /etc/bashrc Yes, 'type source' produces "source is a shell builtin" from my BLFS 7.5 command prompt and xterm window. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page