package defaults are unfriendly for users that use the 'viins' editing mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zsh (Debian) |
Fix Released
|
Unknown
|
|||
zsh (Ubuntu) |
Incomplete
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: zsh
If you select the 'viins' keymap in zsh the keybindings are very strange. Up arrow puts the cursor at the beginning of the line, instread of the end and lots of other little things. The cause of this is all the strangeness in /etc/zsh/zshrc. In fact non of the contents are needed, and if they're not there zsh behaves as it does by default.
I really think shell customization should be up to the user and not the packager of the shell. If shells do get configured in the packageing process, the user gets put in a position where he/she has to hunt down every little odd thing which makes a shell behave just this much different on another machine and compensate for everything in his/her dotfiles. The only exception I can think of is the PATH setting, that may be a valid thing to configure system wide.
So the fix here is:
cat /dev/null > /etc/zsh/zshrc
Changed in zsh: | |
status: | Invalid → New |
Changed in zsh (Ubuntu): | |
status: | Confirmed → Incomplete |
Changed in zsh (Debian): | |
status: | Unknown → Fix Released |
Have you tried with a more recent version of Ubuntu? Gutsy has zsh-4.3.4, and it could be fixed there.