I have just switched to [zsh](http://www.zsh.org/), and I would like to `bind` `Home`, `End` and `Delete` keys such that they would act similar to how they do in [bash](http://www.gnu.org/software/bash/).

I have found some commands that work if I enter them directly into the command line:

```
bindkey '\eOF' end-of-line
bindkey '\e[3~' delete-char
bindkey '\eOH' beginning-of-line

```

Yet those commands do not take any effect when they're part of the `zshrc`.
Other `zshrc` commands work fine. *I do remember to restart terminal after each change*.

I'm using ubuntu 11.10.

Please help, I have tried to find a similar questions, yet I can't find any solution.