[maemo-users] .bashrc not executed
From: Francisco Diaz Trepat - gmail francisco.diaztrepat at gmail.comDate: Wed Jun 23 21:36:21 EEST 2010
- Previous message: .bashrc not executed
- Next message: .bashrc not executed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.diaztrepat at gmail.com> wrote: > Thanks Marius. > > Graceful LOL at hit :-) > > On Wed, Jun 23, 2010 at 1:43 PM, Marius Gedminas <marius at pov.lt> 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, 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" ]; then >> > . "$HOME/.bashrc" >> > fi >> > >> > # set PATH so it includes user's private bin if it exists >> > if [ -d "$HOME/bin" ] ; then >> > PATH="$HOME/bin:$PATH" >> > fi >> > >> > and moved my alias and environment variables to my new .bashrc >> > >> > # go environment variables >> > . /opt/go/bin/go_profile >> > >> > # Aliases >> > alias wksp='cd;cd $HOME/MyDocs/Workspace' >> > >> > But this didn't work. I get a: >> > -sh: : not found >> ^ >> This here is a <U+00A0> NO-BREAK SPACE character. Please find it in >> your .profile/.bashrc/whatever and replace it with an ordinary ASCII >> space. >> >> Hint: >> >> > if [ -f "$HOME/.bashrc" ]; then >> > . "$HOME/.bashrc" >> ^- it's here >> >> Marius Gedminas >> -- >> I dont know about madness (and anyway, the little green martians dancing >> around me tell me not to worry...), but I've implemented something not >> unlike this just now. >> -- Peter Sabaini >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.9 (GNU/Linux) >> >> iD8DBQFMIjm6kVdEXeem148RAtiOAJ9FYKE6qKXco44/xRia7nwnShvtUgCdEJJS >> GF0wpmB1YC05/8xhZ3suvBI= >> =QByq >> -----END PGP SIGNATURE----- >> >> >> _______________________________________________ >> maemo-users mailing list >> maemo-users at maemo.org >> https://lists.maemo.org/mailman/listinfo/maemo-users >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-users/attachments/20100623/a946a719/attachment.htm>
- Previous message: .bashrc not executed
- Next message: .bashrc not executed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]