mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* 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
This commit is contained in:
parent
7cb5fddfb7
commit
f75b609bcb
3 changed files with 11 additions and 6 deletions
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -4,6 +4,11 @@ byobu (5.77) unreleased; urgency=medium
|
||||||
usr/share/byobu/profiles/Makefile.am,
|
usr/share/byobu/profiles/Makefile.am,
|
||||||
usr/share/byobu/profiles/tmuxrc:
|
usr/share/byobu/profiles/tmuxrc:
|
||||||
- add a dircolors file
|
- 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 <kirkland@ubuntu.com> Tue, 18 Mar 2014 23:25:08 +0900
|
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 18 Mar 2014 23:25:08 +0900
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ 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;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 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_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
|
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
|
export LESS_TERMCAP_us=$(printf '\e[04;38;5;139m') # enter underline mode – underline aubergine
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# Use Byobu colors (green / blue / red)
|
# Use nice colors (green / red / blue)
|
||||||
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) "
|
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
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -70,7 +70,7 @@ TERM xterm-debian
|
||||||
#NORMAL 00 # no color code at all
|
#NORMAL 00 # no color code at all
|
||||||
#FILE 00 # regular file: use no color at all
|
#FILE 00 # regular file: use no color at all
|
||||||
RESET 0 # reset to "normal" color
|
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
|
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.)
|
# numerical value, the color is as for the file pointed to.)
|
||||||
MULTIHARDLINK 00 # regular file with more than one link
|
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)
|
SETUID 37;41 # file that is setuid (u+s)
|
||||||
SETGID 30;43 # file that is setgid (g+s)
|
SETGID 30;43 # file that is setgid (g+s)
|
||||||
CAPABILITY 30;41 # file with capability
|
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
|
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
|
STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable
|
||||||
# This is for files with execute permission:
|
# 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
|
# 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.
|
# to colorize below. Put the extension, a space, and the color init string.
|
||||||
# (and any comments you want to add after a '#')
|
# (and any comments you want to add after a '#')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue