Active Topics

 



Notices


Reply
Thread Tools
Posts: 255 | Thanked: 107 times | Joined on Nov 2010
#21
A safer way of doing this would be to change the XTerm launch script to run "osso-xterm /bin/zsh". That way you're nowhere near risking a brick. I'm not taking any more risks after I bricked the first time, so this is how I have it running right now (with the default shell set as sh) and I have no problem. Thanks a lot, zsh makes using the terminal way less of a pain :P
 

The Following 2 Users Say Thank You to Char For This Useful Post:
Posts: 10 | Thanked: 94 times | Joined on Nov 2012
#22
Thanks for the guide, avx. I'm happily using zsh now with grml's config (however, you'll want to delete everything with "limit" in the config, as it produces a warning, and also "ls", because it calls the busybox with wrong parameters).

Oh and I also almost bricked the phone... good to have the recovery console installed I've then changed the shell back to /bin/sh in /etc/passwd

I recommend that you don't set the shell for any user by default. Let the user do this, if he thinks that he's ready.

I'll go with Char's solution to change the launcher. /bin/zsh can also be set in PuTTY as start command, in case anyone uses that too



EDIT: works great now! I've added some aliases, so I'll always have zsh instead of bash (you might need to customize that if you use gainroot, I don't):


/home/user/.zshrc.local
alias su="sudo su -c /bin/zsh"
/root/.zshrc.local
alias suu="su user -c /bin/zsh"

Last edited by robotanarchy; 2013-05-19 at 13:39.
 

The Following User Says Thank You to robotanarchy For This Useful Post:
Posts: 18 | Thanked: 4 times | Joined on Feb 2010
#23
Did you use the zsh binaries from http://talk.maemo.org//showthread.php?p=1356894
?
 

The Following User Says Thank You to antifarben For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 10:38.