From: Johannes Weißl Date: Thu, 11 Nov 2010 11:44:48 +0000 (+0100) Subject: bugfix: "select ." does not work if muttjump is called within screen X-Git-Url: https://projects.mako.cc/source/muttjump/commitdiff_plain/537aa1680c66b3843b7fabefb98330b408c2d666?ds=sidebyside bugfix: "select ." does not work if muttjump is called within screen --- 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: