* usr/share/byobu/profiles/bashrc:

- use MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET (U+27EB, Pe): ⟫
  - I've tested this to display properly in:
    + gnome-terminal, xterm, uxterm, terminator, konsole
  - Still doesn't look right in putty
This commit is contained in:
Dustin Kirkland 2013-09-19 09:51:13 -05:00
commit b776bd8554
2 changed files with 15 additions and 2 deletions

6
debian/changelog vendored
View file

@ -1,6 +1,10 @@
byobu (5.59) unreleased; urgency=low byobu (5.59) unreleased; urgency=low
* UNRELEASED * usr/share/byobu/profiles/bashrc:
- use MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET (U+27EB, Pe): ⟫
- I've tested this to display properly in:
+ gnome-terminal, xterm, uxterm, terminator, konsole
- Still doesn't look right in putty
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 12 Sep 2013 10:53:27 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 12 Sep 2013 10:53:27 -0500

View file

@ -28,7 +28,16 @@ if [ -n "$TMUX" ] || [ "${TERMCAP#*screen}" != "${TERMCAP}" ]; then
case "$BYOBU_DISTRO" in case "$BYOBU_DISTRO" in
"Ubuntu") "Ubuntu")
# Use Ubuntu colors (grey / aubergine / orange) # Use Ubuntu colors (grey / aubergine / orange)
PS1="${debian_chroot:+($debian_chroot)}\[\e[38;5;245m\]\u\[\e[00m\]@\[\e[38;5;5m\]\h\[\e[00m\]:\[\e[38;5;172m\]\w\[\e[00m\]❭ " case "$(locale charmap 2>/dev/null || echo)" in
"UTF-8")
# MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET (U+27EB, Pe): ⟫
PS1="${debian_chroot:+($debian_chroot)}\[\e[38;5;245m\]\u\[\e[00m\]@\[\e[38;5;5m\]\h\[\e[00m\]:\[\e[38;5;172m\]\w\[\e[00m\]⟫ "
;;
*)
# Simple ASCII greater-than sign
PS1="${debian_chroot:+($debian_chroot)}\[\e[38;5;245m\]\u\[\e[00m\]@\[\e[38;5;5m\]\h\[\e[00m\]:\[\e[38;5;172m\]\w\[\e[00m\]> "
;;
esac
;; ;;
*) *)
# Use Byobu colors (green / blue / red) # Use Byobu colors (green / blue / red)