Results 1 to 4 of 4
  1.    #1  
    I have SSH and SFTP loaded on my Palm Pre. I'm trying to setup a custom .bash_profile to give me a color prompt and set my PATH variable. I placed the file in ~/ but I have to manually type "source ~/.bash_profile" or it won't load. How do I get this to load automatically?
  2. #2  
    I'm not quite sure that the Pre comes with bash preloaded
    I think the shell is busybox

    root@palm-webos-device:/# sh --help
    BusyBox v1.11.2 () multi-call binary

    No help available.


    Have you installed Bourne Again SHell from Preware? (it's under Optware I think).
    After that you may rename /bin/sh to /bin/sh.bak and then link /opt/bin/bash to /sh
  3. DrewPre's Avatar
    Posts
    818 Posts
    Global Posts
    829 Global Posts
    #3  
    you could also modify your /etc/passwd file and change the shell for just the ssh user you're using from sh to bash.

    That way you don't risk possibly breaking any scripts that rely on sh

    Palm Pre Backup Utility...done!
    Locate Pre....done!
  4. #4  
    Quote Originally Posted by DrewPre View Post
    you could also modify your /etc/passwd file and change the shell for just the ssh user you're using from sh to bash.

    That way you don't risk possibly breaking any scripts that rely on sh
    Better option

Posting Permissions