Thanks Marius. Graceful l...@hit :-)
On Wed, Jun 23, 2010 at 1:43 PM, Marius Gedminas <mar...@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@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-users > >
_______________________________________________ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users