]> git.pld-linux.org Git - projects/setup.git/commitdiff
- key bindings and functions for zsh are out to zsh.spec
authorPaweł Gołaszewski <blues@pld-linux.org>
Mon, 15 Sep 2003 22:39:35 +0000 (22:39 +0000)
committerPaweł Gołaszewski <blues@pld-linux.org>
Mon, 15 Sep 2003 22:39:35 +0000 (22:39 +0000)
Changed files:
    etc/profile -> 1.31

etc/profile

index 203236a81f88477f5a918cb4ccd012ff6cc38197..1745eca4d01bb41231b9c05e792aae592d5e752f 100644 (file)
@@ -127,39 +127,6 @@ case "$SH" in
        RPS1="%T"
        export RPS1
 
-       # aliases:
-       alias which=whence
-
-       # 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
-       bindkey "^[[4~" end-of-line >/dev/null 2>&1
-       bindkey "^[[F" end-of-line >/dev/null 2>&1
-       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
-
-       case "$TERM" in
-       aterm)
-               bindkey '^[[A' up-line-or-history >/dev/null 2>&1
-               bindkey '^[[B' down-line-or-history >/dev/null 2>&1
-               bindkey '^[[D' backward-char >/dev/null 2>&1
-               bindkey '^[[C' forward-char >/dev/null 2>&1
-               ;;
-       xterm*)
-               precmd () { print -Pn "\e]0;%n@%m: %~\a"i; }
-               ;;
-       esac
        # other HISTFILE, zsh uses diffrent fmt
        HISTFILE=~/.historyz
        # w/o this hist file wont get saved !
This page took 0.101048 seconds and 4 git commands to generate.