]> git.pld-linux.org Git - packages/zsh.git/commitdiff
- no need to call tput (Mikachu#zsh@freenode)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 9 Dec 2011 18:23:28 +0000 (18:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    zshrc -> 1.17

zshrc

diff --git a/zshrc b/zshrc
index 02ef122755d2e225a301f50ab0597c6076e255f1..85c34bb57ab793152d9b3ddec3ecc035df535662 100644 (file)
--- a/zshrc
+++ b/zshrc
@@ -14,14 +14,14 @@ setopt hist_ignore_space hist_ignore_all_dups list_packed transient_rprompt
 
 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 %~]%(!.#.%\$) '
 
This page took 0.17753 seconds and 4 git commands to generate.