packages: zsh/zshrc - no need to call tput (Mikachu#zsh at freenode)

arekm arekm at pld-linux.org
Fri Dec 9 19:23:33 CET 2011


Author: arekm                        Date: Fri Dec  9 18:23:33 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- no need to call tput (Mikachu#zsh at freenode)

---- Files affected:
packages/zsh:
   zshrc (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: packages/zsh/zshrc
diff -u packages/zsh/zshrc:1.16 packages/zsh/zshrc:1.17
--- packages/zsh/zshrc:1.16	Fri Dec  9 19:20:57 2011
+++ packages/zsh/zshrc	Fri Dec  9 19:23:28 2011
@@ -14,14 +14,14 @@
 
 bindkey -e >/dev/null 2>&1
 
-bindkey `tput khome` beginning-of-line >/dev/null 2>&1
-bindkey `tput kend` end-of-line >/dev/null 2>&1
-bindkey `tput kich1` quoted-insert >/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
+bindkey $terminfo[khome] beginning-of-line >/dev/null 2>&1
+bindkey $terminfo[kend] end-of-line >/dev/null 2>&1
+bindkey $terminfo[kich1] quoted-insert >/dev/null 2>&1
+bindkey $terminfo[kdch1] delete-char >/dev/null 2>&1
+bindkey $terminfo[kpp] up-history >/dev/null 2>&1
+bindkey $terminfo[knp] end-of-history >/dev/null 2>&1
+bindkey $terminfo[kcuu1] history-beginning-search-backward >/dev/null 2>&1
+bindkey $terminfo[kcud1] history-beginning-search-forward >/dev/null 2>&1
 
 PS1='[%n@%m %~]%(!.#.%\$) '
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/zsh/zshrc?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list