From f75b609bcb0a970369d682e4587cef0378c55587 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Fri, 28 Mar 2014 20:38:54 -0500 Subject: [PATCH] * usr/share/byobu/profiles/bashrc, usr/share/byobu/profiles/dircolors: - swap orange and aubergine on the command prompt - aubergine is now the directory, orange is the hostname - still working on dircolors, use an aubergine (like our prompt) for directories --- debian/changelog | 5 +++++ usr/share/byobu/profiles/bashrc | 6 +++--- usr/share/byobu/profiles/dircolors | 6 +++--- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7e7b221a..d8e0ee26 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,11 @@ byobu (5.77) unreleased; urgency=medium usr/share/byobu/profiles/Makefile.am, usr/share/byobu/profiles/tmuxrc: - add a dircolors file + * usr/share/byobu/profiles/bashrc, usr/share/byobu/profiles/dircolors: + - swap orange and aubergine on the command prompt + - aubergine is now the directory, orange is the hostname + - still working on dircolors, use an aubergine (like our prompt) + for directories -- Dustin Kirkland Tue, 18 Mar 2014 23:25:08 +0900 diff --git a/usr/share/byobu/profiles/bashrc b/usr/share/byobu/profiles/bashrc index 43c94d96..00f8e06f 100644 --- a/usr/share/byobu/profiles/bashrc +++ b/usr/share/byobu/profiles/bashrc @@ -48,7 +48,7 @@ if [ -n "$TMUX" ] || [ "${TERMCAP#*screen}" != "${TERMCAP}" ]; then case "$BYOBU_DISTRO" in "Ubuntu") # Use Ubuntu colors (grey / aubergine / orange) - PS1="${debian_chroot:+($debian_chroot)}\[\e[38;5;202m\]\$(byobu_prompt_status)\[\e[38;5;245m\]\u\[\e[00m\]@\[\e[38;5;5m\]\h\[\e[00m\]:\[\e[38;5;172m\]\w\[\e[00m\]\$(byobu_prompt_symbol) " + PS1="${debian_chroot:+($debian_chroot)}\[\e[38;5;202m\]\$(byobu_prompt_status)\[\e[38;5;245m\]\u\[\e[00m\]@\[\e[38;5;172m\]\h\[\e[00m\]:\[\e[38;5;5m\]\w\[\e[00m\]\$(byobu_prompt_symbol) " export GREP_COLORS="ms=01;38;5;202:mc=01;31:sl=:cx=:fn=01;38;5;132:ln=32:bn=32:se=00;38;5;242" export LESS_TERMCAP_mb=$(printf '\e[01;31m') # enter blinking mode – red export LESS_TERMCAP_md=$(printf '\e[01;38;5;180m') # enter double-bright mode – bold light orange @@ -59,8 +59,8 @@ if [ -n "$TMUX" ] || [ "${TERMCAP#*screen}" != "${TERMCAP}" ]; then export LESS_TERMCAP_us=$(printf '\e[04;38;5;139m') # enter underline mode – underline aubergine ;; *) - # Use Byobu colors (green / blue / red) - PS1="${debian_chroot:+($debian_chroot)}\[\e[31m\]\$(byobu_prompt_status)\[\e[00;32m\]\u\[\e[00m\]@\[\e[00;36m\]\h\[\e[00m\]:\[\e[00;31m\]\w\[\e[00m\]\$(byobu_prompt_symbol) " + # Use nice colors (green / red / blue) + PS1="${debian_chroot:+($debian_chroot)}\[\e[31m\]\$(byobu_prompt_status)\[\e[00;32m\]\u\[\e[00m\]@\[\e[00;31m\]\h\[\e[00m\]:\[\e[00;36m\]\w\[\e[00m\]\$(byobu_prompt_symbol) " ;; esac fi diff --git a/usr/share/byobu/profiles/dircolors b/usr/share/byobu/profiles/dircolors index 580bd728..fb810726 100644 --- a/usr/share/byobu/profiles/dircolors +++ b/usr/share/byobu/profiles/dircolors @@ -70,7 +70,7 @@ TERM xterm-debian #NORMAL 00 # no color code at all #FILE 00 # regular file: use no color at all RESET 0 # reset to "normal" color -DIR 38;5;172 # directory +DIR 38;5;5# directory LINK 4;5;36 # symbolic link. (If you set this to 'target' instead of a # numerical value, the color is as for the file pointed to.) MULTIHARDLINK 00 # regular file with more than one link @@ -83,11 +83,11 @@ ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file SETUID 37;41 # file that is setuid (u+s) SETGID 30;43 # file that is setgid (g+s) CAPABILITY 30;41 # file with capability -STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w) +STICKY_OTHER_WRITABLE 3;28 # dir that is sticky and other-writable (+t,o+w) OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable # This is for files with execute permission: -EXEC 01;35 +EXEC 38;5;172 # List any file extensions like '.gz' or '.tar' that you would like ls # to colorize below. Put the extension, a space, and the color init string. # (and any comments you want to add after a '#')