* 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
* 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/Makefile.am, usr/share/byobu/profiles/ps1.sh,
usr/share/man/man1/byobu-disable-prompt.1,
@ -10,6 +7,9 @@ byobu (5.48) unreleased; urgency=low
usr/share/man/man1/Makefile.am:
- add a utility that installs and uninstalls a nicer color prompt
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

View file

@ -25,6 +25,7 @@ PKG="byobu"
byobu-disable-prompt || true
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#
export TERM="xterm-256" #byobu-prompt#
EOF
echo

View file

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