The Following 5 Users Say Thank You to For This Useful Post: | ||
|
2011-01-21
, 18:28
|
Posts: 255 |
Thanked: 107 times |
Joined on Nov 2010
|
#2
|
|
2011-01-22
, 20:02
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#3
|
|
2011-01-22
, 20:07
|
Banned |
Posts: 358 |
Thanked: 160 times |
Joined on Dec 2010
|
#4
|
|
2011-01-22
, 20:30
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#5
|
|
2011-01-23
, 10:07
|
Posts: 255 |
Thanked: 107 times |
Joined on Nov 2010
|
#6
|
Sorry for that, hope you didn't loose too much data of value.
I'm looking into this, I guess the init-scripts are borked, but I'm not sure, yet.
|
2011-01-23
, 16:44
|
Posts: 10 |
Thanked: 13 times |
Joined on Feb 2010
|
#7
|
[ -n "$PS1" ] && [ "$0" != "/etc/X11/Xsession" ] && exec /bin/zsh "$@" || :
The Following 2 Users Say Thank You to BernardB For This Useful Post: | ||
|
2011-01-23
, 16:51
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#8
|
|
2011-01-23
, 16:52
|
Posts: 10 |
Thanked: 13 times |
Joined on Feb 2010
|
#9
|
[ "$0" = "/etc/X11/Xsession" ] && emulate sh || :
The Following User Says Thank You to BernardB For This Useful Post: | ||
|
2011-01-23
, 17:22
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#10
|
Update: now works flawless for me. Guide is rewritten from the original.
There's still a chance to brick the device, but not permanently, so reflashing is possible. You've been warned, you'd better have a backup.
A .deb would be really useful, if you're capable of doing so, please don't hesitate
--
I made some modifications to my desktop's .zshrc to better fit (my) needs on the N900:
I'd like to share this with you, so maybe someone else can benefit and I'd be glad to receive patches(diffs) or additions.
Getting started:
a) you need to be able to become root
b) you need extras-{devel,testing} both enabled
c) open the terminal
d) become root
e) fetch this file: http://phorcix.org/proj/n900/conf/zsh-setup
f) run
When all this is done, have a quick look over the command's output and make sure, there are no errors. If everything looks ok, reboot the device.
Note:ZSHs first start will take a relatively long time, since it's building the entries needed for autocompletion. This is one time only, so after that, it shouldn't be slow at all.
--
A little overview of what's possible with it - please forgive me, if I use zsh-terms too often...
a) auto_cd is on, thus
of course
some other named-dirs are also setup, namely for the paths of documents, sounds, images, videos, backups and some more
c) shortcuts for things like apt-get are setup, thus i.e.
d) ' P ' works as ' | '
e) easy layout switching, in my case de<->dvorak
f) '+'/'-' to turn up/down the volume
g) easy 'chmod'/'chown', ie '755 file'
h) shortcuts for a lot of commands, i.e. A,E,G,L -> awk,echo,grep,less and more
i) associations for most commonly used files, espacially media is assigned to mplayer
j) setup to 55 colums, so its easily editable on the N900 in vim with 'set number'
--
Love, praise, thoughts, critics, deathwishes are welcome.
In the hope that someone finds it useful, cheers,
avx
PS: a little screeny of what my setup looks like, can be found in this post
Last edited by avx; 2011-01-23 at 22:37. Reason: new instructions