drop debian chroot from wolfi ps1

This commit is contained in:
Dustin Kirkland 2024-01-08 21:31:45 -06:00
parent ae62fbf6a2
commit 39e6bc7c6d
2 changed files with 5 additions and 4 deletions

7
debian/changelog vendored
View file

@ -1,8 +1,9 @@
byobu (6.5) UNRELEASED; urgency=medium
byobu (6.5) unreleased; urgency=medium
*
* usr/share/byobu/profiles/bashrc:
- drop debian chroot from wolfi ps1
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 07 Jan 2024 16:10:43 -0600
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 08 Jan 2024 21:31:05 -0600
byobu (6.4) released; urgency=medium

View file

@ -58,7 +58,7 @@ if [ -n "$TMUX" ] || [ "${TERMCAP#*screen}" != "${TERMCAP}" ]; then
# For reference: https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg
# Convert hex to 256: https://gist.githubusercontent.com/MicahElliott/719710/raw/73d047f0a3ffc35f0655488547e7f24fa3f04ea6/colortrans.py
# Use Wolfi colors (pink=170 / purple=98 / blue=63); flashing error code on previous command non-zero exit
PS1="${debian_chroot:+($debian_chroot)}\[\e[03;5;15;54m\]\$(byobu_prompt_status)\[\e[00m\]\[\e[38;5;170m\]\u\[\e[00m\]@\[\e[38;5;98m\]\h\[\e[00m\]:\[\e[38;5;63m\]\w\[\e[00m\]\$(byobu_prompt_symbol) "
PS1="\[\e[03;5;15;54m\]\$(byobu_prompt_status)\[\e[00m\]\[\e[38;5;170m\]\u\[\e[00m\]@\[\e[38;5;98m\]\h\[\e[00m\]:\[\e[38;5;63m\]\w\[\e[00m\]\$(byobu_prompt_symbol) "
;;
*)
# Use Googley colors (blue / red / yellow / blue / green / red )