xttitle [was Re: Release-critical Bugreport for February 1, 2002]
On Fri, Feb 01, 2002 at 06:00:02AM -0600, BugScan reporter wrote:
> Package: xttitle (debian/main)
> Maintainer: Dafydd Harries <daf@parnassus.ath.cx>
> 119095 [ ] xttitle_1.0-1(mipsel/unstable): fails to build with sudo
Does this package *really* need to exist, especially since it has an RC bug?
Why can't we just have something like:
if [ "$PS1" ]; then
# ...
function set_title() {
if [ x$1 != x--keep ]; then
SET_TITLE_EXTRA="$@"
fi
if [ -z "$SET_TITLE_EXTRA" ]; then
NAME="$USER@$HOSTNAME:$PWD"
else
NAME="$USER@$HOSTNAME:$PWD ($SET_TITLE_EXTRA)"
fi
echo -n
}
case $TERM in
xterm*)
PROMPT_COMMAND='set_title --keep'
;;
*)
;;
esac
fi
commented out in the /etc/skel/.bashrc or even /etc/bash.bashrc?
All the best,
Pete
--
Pete Ryland <pdr@pdr.cx> XMLDB: http://xmldb.sf.net/
Industrial design knows of no article more useful than the milk crate.
Reply to: