Re: .bashrc not executed

2010-06-24 Thread Francisco Diaz Trepat - gmail
Ahá >_> <_< there is a saying over here which I'll translate exactly (may be different where you are but I'm sure it exist) The Devil knows for being Devil, but knows a lot more for being Old" Implying the importance of Experience. :-) f(t) On Thu, Jun 24, 2010 at 4:03 PM, Marius Gedminas w

Re: .bashrc not executed

2010-06-24 Thread Marius Gedminas
On Wed, Jun 23, 2010 at 03:36:21PM -0300, Francisco Diaz Trepat - gmail wrote: > Success!!! > > Q: How did you know where the invalid char could be? I've seen bash errors like this before, so I knew it had to be a weird character. I hit 'ga' in Vim and it told me what character it was. Then I di

Re: .bashrc not executed

2010-06-23 Thread Joerg Reisenweber
[Francisco Diaz Trepat - gmail Mi 23. Juni 2010]: > Success!!! > > Q: How did you know where the invalid char could be? > > >> > include .bashrc if it exists > >> > if [ -f "$HOME/.bashrc" ]; then > >> >. "$HOME/.bashrc" > >> > fi e.g. in kmail I just hit 'v' to watch the raw msg text. Th

Re: .bashrc not executed

2010-06-23 Thread Francisco Diaz Trepat - gmail
Success!!! Q: How did you know where the invalid char could be? >_> <_< f(t) On Wed, Jun 23, 2010 at 3:23 PM, Francisco Diaz Trepat - gmail < francisco.diaztre...@gmail.com> wrote: > Thanks Marius. > > Graceful l...@hit :-) > > On Wed, Jun 23, 2010 at 1:43 PM, Marius Gedminas wrote: > >> On W

Re: .bashrc not executed

2010-06-23 Thread Francisco Diaz Trepat - gmail
Thanks Marius. Graceful l...@hit :-) On Wed, Jun 23, 2010 at 1:43 PM, Marius Gedminas wrote: > On Wed, Jun 23, 2010 at 01:38:41PM -0300, Francisco Diaz Trepat - gmail > wrote: > > I have a similar issue. > > > > I put some environment variables and an alias in the .profile. > > > > this worked,

Re: .bashrc not executed

2010-06-23 Thread Marius Gedminas
On Wed, Jun 23, 2010 at 01:38:41PM -0300, Francisco Diaz Trepat - gmail wrote: > I have a similar issue. > > I put some environment variables and an alias in the .profile. > > this worked, so I was playing with vim to get familiar and so I took > what I saw in my /root/.profile file and try to pu

Re: .bashrc not executed

2010-06-23 Thread Francisco Diaz Trepat - gmail
I have a similar issue. I put some environment variables and an alias in the .profile. this worked, so I was playing with vim to get familiar and so I took what I saw in my /root/.profile file and try to put it in my .profile. basically the: include .bashrc if it exists if [ -f "$HOME/.bashrc"

Re: .bashrc not executed

2010-06-23 Thread Dave Neary
Hi, Jérôme Bove wrote: > I'd like to edit my .bashrc file. So i edit it (vi /home/user/.bashrc) > and save. When I open X-Terminal or connect via ssh to user (not root), > the bashrc is not executed. > If I do su user, then bashrc is executed. > I installed bash and edit my /etc/passwd file for us

Re: .bashrc not executed

2010-06-23 Thread Alejandro López
Jérôme Bove wrote: > HI ! > I'd like to edit my .bashrc file. So i edit it (vi /home/user/.bashrc) > and save. When I open X-Terminal or connect via ssh to user (not root), > the bashrc is not executed. > If I do su user, then bashrc is executed. > I installed bash and edit my /etc/passwd file fo