]> git.pld-linux.org Git - projects/setup.git/commitdiff
- don't barf when 'bind' fails (ksh)
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 5 Sep 2000 22:08:21 +0000 (22:08 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 5 Sep 2000 22:08:21 +0000 (22:08 +0000)
Changed files:
    etc/profile -> 1.12

etc/profile

index 1e32bc7b2f627dc6e3dc6a0470d83fab07308546..1322d2bb687953874377bd72ae77b32a4ebd72fb 100644 (file)
@@ -59,20 +59,20 @@ case "$SH" in
        fi
        PS2='> '
        set -o emacs
-       bind '^I'=complete
-       bind '^[^I'=complete-list
+       bind '^I'=complete >/dev/null 2>&1
+       bind '^[^I'=complete-list >/dev/null 2>&1
        #
        # Setup some of the most basic editing functions
        # to work properly under different termnal emulators.
        #
        case $TERM in
        nxterm|xterm|xterm-color|rxvt)
-               bind '^[[H'=beginning-of-line
-               bind '^[[F'=end-of-line
+               bind '^[[H'=beginning-of-line >/dev/null 2>&1
+               bind '^[[F'=end-of-line >/dev/null 2>&1
                ;;
        linux)
-               bind '^[1~'=beginning-of-line
-               bind '^[4~'=end-of-line
+               bind '^[1~'=beginning-of-line >/dev/null 2>&1
+               bind '^[4~'=end-of-line >/dev/null 2>&1
                ;;
        esac
        ;;
This page took 0.044062 seconds and 4 git commands to generate.