usr/bin/byobu-disable-prompt, usr/bin/byobu-enable-prompt,

usr/bin/Makefile.am, usr/share/byobu/profiles/ps1.sh,
usr/share/man/man1/byobu-disable-prompt.1,
usr/share/man/man1/byobu-enable-prompt.1,
This commit is contained in:
Dustin Kirkland 2013-07-26 16:38:56 -05:00
commit ba72a9a7a2
8 changed files with 18 additions and 18 deletions

8
debian/changelog vendored
View file

@ -3,10 +3,10 @@ byobu (5.48) unreleased; urgency=low
* usr/lib/byobu/include/shutil:
- drop "bright" designations, which don't seem to be working properly
most places
* usr/bin/byobu-disable-color-prompt, usr/bin/byobu-enable-color-
prompt, usr/bin/Makefile.am, usr/share/byobu/profiles/ps1.sh,
usr/share/man/man1/byobu-disable-color-prompt.1,
usr/share/man/man1/byobu-enable-color-prompt.1,
* usr/bin/byobu-disable-prompt, usr/bin/byobu-enable-prompt,
usr/bin/Makefile.am, usr/share/byobu/profiles/ps1.sh,
usr/share/man/man1/byobu-disable-prompt.1,
usr/share/man/man1/byobu-enable-prompt.1,
usr/share/man/man1/Makefile.am:
- add a utility that installs and uninstalls a nicer color prompt
into the local shell configuration

View file

@ -1,4 +1,4 @@
bin_SCRIPTS = byobu byobu-config byobu-ctrl-a byobu-disable byobu-disable-color-prompt byobu-enable byobu-enable-color-prompt byobu-export byobu-janitor byobu-keybindings byobu-launch byobu-launcher byobu-launcher-install byobu-launcher-uninstall byobu-layout byobu-quiet byobu-reconnect-sockets byobu-select-backend byobu-select-profile byobu-select-session byobu-silent byobu-status byobu-status-detail byobu-shell byobu-ugraph byobu-ulevel
bin_SCRIPTS = byobu byobu-config byobu-ctrl-a byobu-disable byobu-disable-prompt byobu-enable byobu-enable-prompt byobu-export byobu-janitor byobu-keybindings byobu-launch byobu-launcher byobu-launcher-install byobu-launcher-uninstall byobu-layout byobu-quiet byobu-reconnect-sockets byobu-select-backend byobu-select-profile byobu-select-session byobu-silent byobu-status byobu-status-detail byobu-shell byobu-ugraph byobu-ulevel
install-exec-hook:
cd $(DESTDIR)$(bindir) && rm -f byobu-screen && $(LN_S) byobu byobu-screen

View file

@ -1,6 +1,6 @@
#!/bin/sh -e
#
# byobu-disable-color-prompt
# byobu-disable-prompt
# Copyright (C) 2013 Dustin Kirkland
#
# Authors: Dustin Kirkland <kirkland@byobu.co>
@ -22,6 +22,6 @@ PKG="byobu"
[ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="/usr" || export BYOBU_PREFIX
. "${BYOBU_PREFIX}/lib/${PKG}/include/common"
$BYOBU_SED -i -e "/^PS1=.*#byobu-color-prompt#$/d" "$HOME/.bashrc"
$BYOBU_SED -i -e "/^PS1=.*#byobu-prompt#$/d" "$HOME/.bashrc"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -1,6 +1,6 @@
#!/bin/sh -e
#
# byobu-enable-color-prompt
# byobu-enable-prompt
# Copyright (C) 2013 Dustin Kirkland
#
# Authors: Dustin Kirkland <kirkland@byobu.co>
@ -22,9 +22,9 @@ PKG="byobu"
[ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="/usr" || export BYOBU_PREFIX
. "${BYOBU_PREFIX}/lib/${PKG}/include/common"
byobu-disable-color-prompt || true
byobu-disable-prompt || true
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-color-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#
EOF
echo

View file

@ -1 +1 @@
man_MANS = byobu.1 byobu-config.1 byobu-ctrl-a.1 byobu-disable.1 byobu-disable-color-prompt.1 byobu-enable.1 byobu-enable-color-prompt.1 byobu-export.1 byobu-janitor.1 byobu-keybindings.1 byobu-launch.1 byobu-launcher.1 byobu-launcher-install.1 byobu-launcher-uninstall.1 byobu-layout.1 byobu-quiet.1 byobu-reconnect-sockets.1 byobu-screen.1 byobu-select-backend.1 byobu-select-profile.1 byobu-select-session.1 byobu-shell.1 byobu-silent.1 byobu-status.1 byobu-status-detail.1 byobu-tmux.1
man_MANS = byobu.1 byobu-config.1 byobu-ctrl-a.1 byobu-disable.1 byobu-disable-prompt.1 byobu-enable.1 byobu-enable-prompt.1 byobu-export.1 byobu-janitor.1 byobu-keybindings.1 byobu-launch.1 byobu-launcher.1 byobu-launcher-install.1 byobu-launcher-uninstall.1 byobu-layout.1 byobu-quiet.1 byobu-reconnect-sockets.1 byobu-screen.1 byobu-select-backend.1 byobu-select-profile.1 byobu-select-session.1 byobu-shell.1 byobu-silent.1 byobu-status.1 byobu-status-detail.1 byobu-tmux.1

View file

@ -1 +0,0 @@
.so man1/byobu-enable-color-prompt.1

View file

@ -0,0 +1 @@
.so man1/byobu-enable-prompt.1

View file

@ -1,16 +1,16 @@
.TH byobu-enable-color-prompt 1 "26 July 2013" byobu "byobu"
.TH byobu-enable-prompt 1 "26 July 2013" byobu "byobu"
.SH NAME
byobu-enable-color-prompt, byobu-disable-color-prompt \- add and remove a nice color prompt to your shell configuration
byobu-enable-prompt, byobu-disable-prompt \- add and remove a nice color prompt to your shell configuration
.SH SYNOPSIS
\fBbyobu-enable-color-prompt\fP
\fBbyobu-enable-prompt\fP
.TP
\fBbyobu-disable-color-prompt\fP
\fBbyobu-disable-prompt\fP
.SH DESCRIPTION
\fBbyobu-enable-color-prompt\fP will add one line to your \fI~/.bashrc\fP.
\fBbyobu-enable-prompt\fP will add one line to your \fI~/.bashrc\fP.
\fBbyobu-disable-color-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"