mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* usr/share/byobu/profiles/bashrc:
- allow override via a $DISTRO env variable
This commit is contained in:
parent
ba198b3b44
commit
a11296184a
2 changed files with 3 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -5,6 +5,8 @@ byobu (5.51) unreleased; urgency=low
|
|||
usr/share/byobu/profiles/Makefile.am,
|
||||
usr/share/byobu/profiles/ps1.sh:
|
||||
- use a common bashrc file
|
||||
* usr/share/byobu/profiles/bashrc:
|
||||
- allow override via a $DISTRO env variable
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 02 Aug 2013 17:30:11 -0500
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
if [ -n "$TMUX" ] || (printf "$TERMCAP" | grep -qs "screen"); then
|
||||
# Ensure that we're in bash, in a byobu environment
|
||||
if [ -n "$BYOBU_BACKEND" ] && [ "$SHELL" = "/bin/bash" ]; then
|
||||
if grep -qs "^Ubuntu" /etc/issue; then
|
||||
if [-z "$DISTRO" ] && grep -qs "^Ubuntu" /etc/issue; then
|
||||
# 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\]❭ "
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue