mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-19 21:13:19 -07:00
* usr/bin/byobu-janitor:
- ensure byobu can be purged without breaking a bashrc
This commit is contained in:
parent
9c40d7c70f
commit
c86b19813b
3 changed files with 5 additions and 2 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
||||||
byobu (5.52) unreleased; urgency=low
|
byobu (5.52) unreleased; urgency=low
|
||||||
|
|
||||||
* UNRELEASED
|
* usr/bin/byobu-janitor:
|
||||||
|
- ensure byobu can be purged without breaking a bashrc
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 05 Aug 2013 08:38:30 +0100
|
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 05 Aug 2013 08:38:30 +0100
|
||||||
|
|
||||||
|
|
|
@ -117,6 +117,6 @@ rm -f "$FLAG" "/var/run/screen/S-$USER/$PKG.reload-required"
|
||||||
if ! (grep -qs "#byobu-prompt#$" "$HOME/.bashrc") && ! [ -e "$BYOBU_CONFIG_DIR/prompt" ]; then
|
if ! (grep -qs "#byobu-prompt#$" "$HOME/.bashrc") && ! [ -e "$BYOBU_CONFIG_DIR/prompt" ]; then
|
||||||
printf "[ -r $BYOBU_CONFIG_DIR/prompt ] && . $BYOBU_CONFIG_DIR/prompt #byobu-prompt#\n" >> "$HOME/.bashrc"
|
printf "[ -r $BYOBU_CONFIG_DIR/prompt ] && . $BYOBU_CONFIG_DIR/prompt #byobu-prompt#\n" >> "$HOME/.bashrc"
|
||||||
fi
|
fi
|
||||||
[ -r "$BYOBU_CONFIG_DIR/prompt" ] || echo ". ${BYOBU_PREFIX}/share/${PKG}/profiles/bashrc #byobu-prompt#\n" > "$BYOBU_CONFIG_DIR/prompt"
|
[ -r "$BYOBU_CONFIG_DIR/prompt" ] || echo "[ -r ${BYOBU_PREFIX}/share/${PKG}/profiles/bashrc ] && . ${BYOBU_PREFIX}/share/${PKG}/profiles/bashrc #byobu-prompt#\n" > "$BYOBU_CONFIG_DIR/prompt"
|
||||||
|
|
||||||
# vi: syntax=sh ts=4 noexpandtab
|
# vi: syntax=sh ts=4 noexpandtab
|
||||||
|
|
|
@ -10,6 +10,8 @@ byobu-enable-prompt, byobu-disable-prompt \- add and remove a nice color prompt
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fBbyobu-enable-prompt\fP will add one line to your \fI~/.bashrc\fP.
|
\fBbyobu-enable-prompt\fP will add one line to your \fI~/.bashrc\fP.
|
||||||
|
|
||||||
|
You can safely remove the line from your \fI~/.bashrc\fP, which ends in \fB#byobu-prompt\fP.
|
||||||
|
|
||||||
\fBbyobu-disable-prompt\fP will remove its color configuration from \fI~/.bashrc\fP.
|
\fBbyobu-disable-prompt\fP will remove its color configuration from \fI~/.bashrc\fP.
|
||||||
|
|
||||||
.SH "BUGS"
|
.SH "BUGS"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue