]> git.pld-linux.org Git - projects/setup.git/commitdiff
- apply to all xterm/konsole/rxvt variations
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 19 Feb 2009 08:23:11 +0000 (08:23 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 19 Feb 2009 08:23:11 +0000 (08:23 +0000)
Changed files:
    etc/profile -> 1.51

etc/profile

index 15a6dc47b35bc7ef40ce2297b76a7b1bcd53faeb..ef781398c8894ac0a1a9c85199ea7273ff80207f 100644 (file)
@@ -62,11 +62,11 @@ case "$SH" in
        # to work properly under different terminal emulators.
        #
        case $TERM in
-       nxterm|xterm|xterm-color)
+       nxterm|xterm*|konsole*)
                bind '^[[H'=beginning-of-line >/dev/null 2>&1
                bind '^[[F'=end-of-line >/dev/null 2>&1
                ;;
-       linux|rxvt)
+       linux|rxvt*)
                bind '^[[1~'=beginning-of-line >/dev/null 2>&1
                bind '^[[4~'=end-of-line >/dev/null 2>&1
                ;;
@@ -92,10 +92,10 @@ case "$SH" in
        set -o nolog
        set -o emacs
        case $TERM in
-       nxterm|xterm|xterm-color)
+       nxterm|xterm*|konsole*)
                trap 'case ${.sh.edchar} in "\e[F") .sh.edchar="\ 5" ;; "\e[H") .sh.edchar="\ 1" ;; esac' KEYBD
                ;;
-       linux|rxvt)
+       linux|rxvt*)
                trap 'case ${.sh.edchar} in "\e[4~") .sh.edchar="\ 5" ;; "\e[1~") .sh.edchar="\ 1" ;; esac' KEYBD
                ;;
        esac
This page took 0.07158 seconds and 4 git commands to generate.