Thanks Marius.<div><br></div><div>Graceful LOL@hit :-)<br><br><div class="gmail_quote">On Wed, Jun 23, 2010 at 1:43 PM, Marius Gedminas <span dir="ltr"><<a href="mailto:marius@pov.lt">marius@pov.lt</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wed, Jun 23, 2010 at 01:38:41PM -0300, Francisco Diaz Trepat - gmail wrote:<br>
> I have a similar issue.<br>
><br>
> I put some environment variables and an alias in the .profile.<br>
><br>
> this worked, so I was playing with vim to get familiar and so I took<br>
> what I saw in my /root/.profile file and try to put it in my .profile.<br>
> basically the:<br>
><br>
> include .bashrc if it exists<br>
> if [ -f "$HOME/.bashrc" ]; then<br>
> . "$HOME/.bashrc"<br>
> fi<br>
><br>
> # set PATH so it includes user's private bin if it exists<br>
> if [ -d "$HOME/bin" ] ; then<br>
> PATH="$HOME/bin:$PATH"<br>
> fi<br>
><br>
> and moved my alias and environment variables to my new .bashrc<br>
><br>
> # go environment variables<br>
> . /opt/go/bin/go_profile<br>
><br>
> # Aliases<br>
> alias wksp='cd;cd $HOME/MyDocs/Workspace'<br>
><br>
> But this didn't work. I get a:<br>
> -sh: : not found<br>
</div> ^<br>
This here is a <U+00A0> NO-BREAK SPACE character. Please find it in<br>
your .profile/.bashrc/whatever and replace it with an ordinary ASCII space.<br>
<br>
Hint:<br>
<div class="im"><br>
> if [ -f "$HOME/.bashrc" ]; then<br>
> . "$HOME/.bashrc"<br>
</div> ^- it's here<br>
<br>
Marius Gedminas<br>
<font color="#888888">--<br>
I dont know about madness (and anyway, the little green martians dancing<br>
around me tell me not to worry...), but I've implemented something not<br>
unlike this just now.<br>
-- Peter Sabaini<br>
</font><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
<br>
iD8DBQFMIjm6kVdEXeem148RAtiOAJ9FYKE6qKXco44/xRia7nwnShvtUgCdEJJS<br>
GF0wpmB1YC05/8xhZ3suvBI=<br>
=QByq<br>
-----END PGP SIGNATURE-----<br>
<br>_______________________________________________<br>
maemo-users mailing list<br>
<a href="mailto:maemo-users@maemo.org">maemo-users@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-users" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-users</a><br>
<br></blockquote></div><br></div>