File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ byobu (6.4) unreleased; urgency=medium
2
2
3
3
* usr/lib/byobu/packages:
4
4
- add missing trailing whitespace
5
+ * usr/bin/byobu-janitor.in:
6
+ - enable colorized prompt for Wolfi ash shells
5
7
6
- -- Dustin Kirkland <
[email protected] >
Thu, 04 Jan 2024
13:31:36 -0600
8
+ -- Dustin Kirkland <
[email protected] >
Sun, 07 Jan 2024
16:09:05 -0600
7
9
8
10
byobu (6.3) released; urgency=medium
9
11
Original file line number Diff line number Diff line change @@ -136,6 +136,14 @@ if [ -r /etc/skel/.bashrc ] && [ -r "$HOME/.bashrc" ] && [ -w "$HOME/.bashrc" ]
136
136
fi
137
137
[ -r " $BYOBU_CONFIG_DIR /prompt" ] || printf " [ -r ${BYOBU_PREFIX} /share/${PKG} /profiles/bashrc ] && . ${BYOBU_PREFIX} /share/${PKG} /profiles/bashrc #byobu-prompt#\n" > " $BYOBU_CONFIG_DIR /prompt"
138
138
139
+ # Affects: New Wolfi installs -- add colorized prompt to local .profile
140
+ if [ " $BYOBU_DISTRO " = " Wolfi" ]; then
141
+ # Wolfi defaults to "ash", which uses .profile
142
+ if ! (grep -qs " #byobu-prompt#$" " $HOME /.profile" ); then
143
+ printf " [ -r $BYOBU_CONFIG_DIR /prompt ] && . $BYOBU_CONFIG_DIR /prompt #byobu-prompt#\n" >> " $HOME /.profile"
144
+ fi
145
+ fi
146
+
139
147
# Affects: Upgrades from <= byobu 5.126, clear out ec2/rcs cost statuses
140
148
rm -f " $BYOBU_RUN_DIR " /cache.tmux/ec2_cost* " $BYOBU_RUN_DIR " /cache.tmux/rcs_cost* " $BYOBU_RUN_DIR " /status.tmux/ec2_cost* " $BYOBU_RUN_DIR " /status.tmux/rcs_cost*
141
149
You can’t perform that action at this time.
0 commit comments