From 778b0a692b2d88830e75813f6db71aa3f49503a4 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Tue, 16 Oct 2007 12:51:56 +1000 Subject: [PATCH] Fixed screen magic to be better --- .bash/interactive | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bash/interactive b/.bash/interactive index 0ff5a08..4a2ab10 100644 --- a/.bash/interactive +++ b/.bash/interactive @@ -4,7 +4,7 @@ # Use the terminfo backspace character as the erase character. This is not # enabled by default because terminfo is often broken. -#stty erase $(tput kbs) +stty erase $(tput kbs) # Prompt: user@host:directory$ PS1='\u@\h:\w\$ ' @@ -21,7 +21,7 @@ xterm*|rxvt*) unset HOSTNAME ;; screen*) - PS1="\[\033k\033\\\\\]${PS1}" + PROMPT_COMMAND="echo -ne '\033k\033\\'" ;; *) ;; -- 2.39.2