From 537aa1680c66b3843b7fabefb98330b408c2d666 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Johannes=20Wei=C3=9Fl?= Date: Thu, 11 Nov 2010 12:44:48 +0100 Subject: [PATCH] bugfix: "select ." does not work if muttjump is called within screen --- muttjump | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/muttjump b/muttjump index a25771e..351e3ac 100755 --- a/muttjump +++ b/muttjump @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x # written by Johannes Weißl # muttjump @@ -167,7 +167,7 @@ else screen_opts_str="-S $(quote "$MUTTJUMP_SCREEN_SESSION")" fi - $SCREEN "${screen_opts[@]}" -p "$screen_window_name" -X eval "select ." "stuff \"$jump_cmd \"" + $SCREEN "${screen_opts[@]}" -p "$screen_window_name" -X eval "select '$screen_window_name'" "stuff \"$jump_cmd \"" if [ $? != 0 ] ; then die "You have to manually start a screen session with: -- 2.39.5