* usr/bin/byobu-enable-prompt, usr/lib/byobu/include/shutil:

- workaround for LP: #817690
  - add override for TERM in byobu-enable-prompt
This commit is contained in:
Dustin Kirkland 2013-07-26 16:46:29 -05:00
commit b931f2aa83
3 changed files with 12 additions and 11 deletions

6
debian/changelog vendored
View file

@ -1,8 +1,5 @@
byobu (5.48) unreleased; urgency=low byobu (5.48) unreleased; urgency=low
* usr/lib/byobu/include/shutil:
- drop "bright" designations, which don't seem to be working properly
most places
* usr/bin/byobu-disable-prompt, usr/bin/byobu-enable-prompt, * usr/bin/byobu-disable-prompt, usr/bin/byobu-enable-prompt,
usr/bin/Makefile.am, usr/share/byobu/profiles/ps1.sh, usr/bin/Makefile.am, usr/share/byobu/profiles/ps1.sh,
usr/share/man/man1/byobu-disable-prompt.1, usr/share/man/man1/byobu-disable-prompt.1,
@ -10,6 +7,9 @@ byobu (5.48) unreleased; urgency=low
usr/share/man/man1/Makefile.am: usr/share/man/man1/Makefile.am:
- add a utility that installs and uninstalls a nicer color prompt - add a utility that installs and uninstalls a nicer color prompt
into the local shell configuration into the local shell configuration
* usr/bin/byobu-enable-prompt, usr/lib/byobu/include/shutil:
- workaround for LP: #817690
- add override for TERM in byobu-enable-prompt
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 17 Jul 2013 09:37:02 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 17 Jul 2013 09:37:02 -0500

View file

@ -25,6 +25,7 @@ PKG="byobu"
byobu-disable-prompt || true byobu-disable-prompt || true
cat >>"$HOME/.bashrc" <<EOF cat >>"$HOME/.bashrc" <<EOF
PS1="${debian_chroot:+($debian_chroot)}\[\e[00;31m\]\u\[\e[00;30m\]@\[\e[00;36m\]\h\[\e[00m\]:\[\e[00;32m\]\w\[\e[00m\]\$ " #byobu-prompt# PS1="${debian_chroot:+($debian_chroot)}\[\e[00;31m\]\u\[\e[00;30m\]@\[\e[00;36m\]\h\[\e[00m\]:\[\e[00;32m\]\w\[\e[00m\]\$ " #byobu-prompt#
export TERM="xterm-256" #byobu-prompt#
EOF EOF
echo echo

View file

@ -61,14 +61,14 @@ color_map() {
"c") _RET="cyan" ;; "c") _RET="cyan" ;;
"w") _RET="white" ;; "w") _RET="white" ;;
"d") _RET="black" ;; "d") _RET="black" ;;
"K") _RET="black" ;; "K") _RET="brightblack" ;;
"R") _RET="red" ;; "R") _RET="brightred" ;;
"G") _RET="green" ;; "G") _RET="brightgreen" ;;
"Y") _RET="yellow" ;; "Y") _RET="brightyellow" ;;
"B") _RET="blue" ;; "B") _RET="brightblue" ;;
"M") _RET="magenta" ;; "M") _RET="brightmagenta" ;;
"C") _RET="cyan" ;; "C") _RET="brightcyan" ;;
"W") _RET="white" ;; "W") _RET="brightwhite" ;;
*) _RET= ;; *) _RET= ;;
esac esac
} }