You are not logged in.

#1 2008-10-04 23:41:52

rine
Member
From: Germany
Registered: 2008-03-04
Posts: 217

[SOLVED] Problem with keybindings in zsh

Hey, I posted this already as an answer to a really old thread, and I think it got lost there. So here it is again. I'm having problems with keybindings in zsh. They worked a few hours ago. Now they don't. I commented everything in my .zshrc but the keybindings but they still didn't work. I haven't really done anything other than creating ~/.zprofile with this content (or at least I can't remember doing anything else):

if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/vc/1 ]]; then
  startx
  logout
fi

The stuff under "reading $terminfo[]" from http://zshwiki.org/home/zle/bindkeys works, but is extremly slow. It takes about a second for the cursor to move to the front when pressing home. This is my .zshrc so far http://pastebin.com/m66ede710
I don't know if I'm just overlooking something, but I can't figure it out. Regarding files, I don't have anything in /etc and the only other file in my home is .zcompdump. I don't even know what it's for, but it's pretty big, so here it is if that does matter: http://pastebin.com/m78cfd722

Thanks for any help.

Last edited by rine (2008-10-06 06:20:54)

Offline

#2 2008-10-06 03:18:19

escondida
Package Maintainer (PM)
Registered: 2008-04-03
Posts: 157

Re: [SOLVED] Problem with keybindings in zsh

If you're using .zprofile, be sure to source (with the command source)  your .zshrc.

Offline

#3 2008-10-06 05:42:53

rine
Member
From: Germany
Registered: 2008-03-04
Posts: 217

Re: [SOLVED] Problem with keybindings in zsh

Im sourcing it now, makes no difference.

edit: Well I solved it. The colons after all the keybindings don't belong there. No Idea how they got there.

edit2: I must have copied them from /etc/inputrc. There they are with colons

Last edited by rine (2008-10-06 06:23:03)

Offline

Board footer

Powered by FluxBB