setup: profile (HEAD)
Artur Frysiak
wiget at pld-linux.org
Mon Sep 15 15:44:10 CEST 2003
On Mon, Sep 15, 2003 at 03:40:08PM +0200, Artur Frysiak wrote:
> > +
> > + # Setup key bindings:
> > bindkey -e >/dev/null 2>&1
> > bindkey "^[[1~" beginning-of-line >/dev/null 2>&1
> > bindkey "^[[H" beginning-of-line >/dev/null 2>&1
> > @@ -136,6 +139,15 @@
> > bindkey "^[[3~" delete-char >/dev/null 2>&1
> > bindkey "^[[5~" history-search-backward >/dev/null 2>&1
> > bindkey "^[[6~" history-search-forward >/dev/null 2>&1
> > +
> > + # xterm:
> > + bindkey \`tput khome\` beginning-of-line >/dev/null 2>&1
> > + bindkey \`tput kend\` end-of-line >/dev/null 2>&1
> > + bindkey \`tput kdch1\` delete-char >/dev/null 2>&1
> > + bindkey \`tput kpp\` up-history >/dev/null 2>&1
> > + bindkey \`tput knp\` end-of-history >/dev/null 2>&1
> > + bindkey \`tput kcuu1\` history-beginning-search-backward >/dev/null 2>&1
> > + bindkey \`tput kcud1\` history-beginning-search-forward >/dev/null 2>&1
>
> Polecam man zshmodules a szczególnie "echoti". Pare forków mniej.
no i bindkey w profile ? przecież nie jest dziedziczone przez powłoki
niezgłoszeniowe (np te na xtermie)
Pozdrawiam
--
Artur Frysiak
http://www.pld-linux.org/
More information about the pld-devel-pl
mailing list