diff --git a/debian/changelog b/debian/changelog index 6194e06a..82098623 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ byobu (5.78) unreleased; urgency=medium - give executables just a little more pop * usr/share/byobu/profiles/bashrc: - Ensure that we use ls with colors, and class/type indicators + * usr/share/byobu/profiles/bashrc: + - Enable Ubuntu-themed dircolors on Ubuntu systems -- Dustin Kirkland Sun, 30 Mar 2014 20:42:10 -0500 diff --git a/usr/share/byobu/profiles/bashrc b/usr/share/byobu/profiles/bashrc index 35960b9f..1c8c4b7e 100644 --- a/usr/share/byobu/profiles/bashrc +++ b/usr/share/byobu/profiles/bashrc @@ -57,6 +57,11 @@ if [ -n "$TMUX" ] || [ "${TERMCAP#*screen}" != "${TERMCAP}" ]; then export LESS_TERMCAP_so=$(printf '\e[03;38;5;202m') # enter standout mode – orange background highlight (or italics) export LESS_TERMCAP_ue=$(printf '\e[0m') # leave underline mode export LESS_TERMCAP_us=$(printf '\e[04;38;5;139m') # enter underline mode – underline aubergine + # Use Ubuntu themed dircolors + if [ -e "${BYOBU_PREFIX}/share/byobu/profiles/dircolors" ]; then + dircolors "${BYOBU_PREFIX}/share/byobu/profiles/dircolors" > "$BYOBU_RUN_DIR/dircolors" + . "$BYOBU_RUN_DIR/dircolors" + fi ;; *) # Use nice colors (green / red / blue)