mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/bin/byobu-enable-prompt:
- fix TERM * debian/postinst, usr/bin/byobu-enable-prompt: LP: #1205560 - soften requirements on touching the reload flag
This commit is contained in:
parent
751f2f17f3
commit
94d6cd07f6
3 changed files with 8 additions and 5 deletions
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -1,6 +1,9 @@
|
||||||
byobu (5.49) unreleased; urgency=low
|
byobu (5.49) unreleased; urgency=low
|
||||||
|
|
||||||
* UNRELEASED
|
* usr/bin/byobu-enable-prompt:
|
||||||
|
- fix TERM
|
||||||
|
* debian/postinst, usr/bin/byobu-enable-prompt: LP: #1205560
|
||||||
|
- soften requirements on touching the reload flag
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 26 Jul 2013 16:51:20 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 26 Jul 2013 16:51:20 -0500
|
||||||
|
|
||||||
|
|
6
debian/postinst
vendored
6
debian/postinst
vendored
|
@ -24,11 +24,11 @@ fi
|
||||||
# Remove the short-lived MOTD message
|
# Remove the short-lived MOTD message
|
||||||
rm -f /etc/update-motd.d/55-window-manager
|
rm -f /etc/update-motd.d/55-window-manager
|
||||||
|
|
||||||
# Notify users that they should reload their profile
|
# Attempt to notify users that they should reload their profile
|
||||||
touch_flag() {
|
touch_flag() {
|
||||||
touch "$1"
|
touch "$1" || true
|
||||||
chown --reference $(dirname "$1") "$1" || true
|
chown --reference $(dirname "$1") "$1" || true
|
||||||
chmod 700 "$1"
|
chmod 700 "$1" || true
|
||||||
}
|
}
|
||||||
[ -r "/etc/$PKG/socketdir" ] && . "/etc/$PKG/socketdir"
|
[ -r "/etc/$PKG/socketdir" ] && . "/etc/$PKG/socketdir"
|
||||||
if [ -d "$SOCKETDIR" ]; then
|
if [ -d "$SOCKETDIR" ]; then
|
||||||
|
|
|
@ -25,7 +25,7 @@ PKG="byobu"
|
||||||
byobu-disable-prompt || true
|
byobu-disable-prompt || true
|
||||||
cat >>"$HOME/.bashrc" <<EOF
|
cat >>"$HOME/.bashrc" <<EOF
|
||||||
PS1="${debian_chroot:+($debian_chroot)}\[\e[00;31m\]\u\[\e[00;30m\]@\[\e[00;36m\]\h\[\e[00m\]:\[\e[00;32m\]\w\[\e[00m\]\$ " #byobu-prompt#
|
PS1="${debian_chroot:+($debian_chroot)}\[\e[00;31m\]\u\[\e[00;30m\]@\[\e[00;36m\]\h\[\e[00m\]:\[\e[00;32m\]\w\[\e[00m\]\$ " #byobu-prompt#
|
||||||
export TERM="xterm-256" #byobu-prompt#
|
export TERM="xterm-256color" #byobu-prompt#
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue