* screen-launcher: add little bash hack to ensure that PROMPT_COMMAND gets

displayed and gnome-title is updated
This commit is contained in:
Dustin Kirkland 2009-03-06 20:05:27 -06:00
commit 30cdf3fc0c
2 changed files with 11 additions and 4 deletions

4
debian/changelog vendored
View file

@ -2,8 +2,10 @@ screen-profiles (1.33) unreleased; urgency=low
* debian/control: build-depend on gettext-base, in case the builder needs to
run get-po
* screen-launcher: add little bash hack to ensure that PROMPT_COMMAND gets
displayed and gnome-title is updated, LP: #xxxxxx
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 05 Mar 2009 09:22:29 -0600
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 06 Mar 2009 20:04:14 -0600
screen-profiles (1.32-0ubuntu1) jaunty; urgency=low

View file

@ -18,7 +18,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
[ "$TERM" = "screen" ] && exit 0
# Ensure that the PROMPT_COMMAND gets printed, such that gnome-terminal
# and friends can pick it up before going into screen
[ -x /bin/bash ] && /bin/true | /bin/bash -i -s
# Launch screen
if [ "$TERM" != "screen" ]; then
screen -xRR
fi
exec screen -xRR