-case $TERM in
- nxterm|xterm*|konsole*)
- bind '^[[H'=beginning-of-line >/dev/null 2>&1
- bind '^[[F'=end-of-line >/dev/null 2>&1
- ;;
- linux|rxvt*)
- bind '^[[1~'=beginning-of-line >/dev/null 2>&1
- bind '^[[4~'=end-of-line >/dev/null 2>&1
- ;;
-esac
-