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
Attachment:
signature.asc
Description: Digital signature
_______________________________________________ maemo-users mailing list maemo-users@xxxxxxxxx https://lists.maemo.org/mailman/listinfo/maemo-users