From: Christian Ebert Date: Tue, 30 Nov 2010 16:13:33 +0000 (+0100) Subject: make MUTTJUMP_SCREEN_WINDOW_NAME_MANGLE more flexible X-Git-Url: https://projects.mako.cc/source/muttjump/commitdiff_plain/7f10371624b262834ae75710f09a2cb5ab4aeea5?hp=109a51e27c225cc4494f01e2c99ee55f3c18d67c make MUTTJUMP_SCREEN_WINDOW_NAME_MANGLE more flexible Signed-off-by: Johannes Weißl --- diff --git a/muttjump b/muttjump index cb7e4fb..f2b7ec7 100755 --- a/muttjump +++ b/muttjump @@ -40,7 +40,7 @@ MUTTJUMP_MULTI_SCREEN_MODE=${MUTTJUMP_MULTI_SCREEN_MODE:-no} MUTTJUMP_SCREEN_SESSION=${MUTTJUMP_SCREEN_SESSION:-} # function to create the screen window name from the full path of the mailbox -if ! type MUTTJUMP_SCREEN_WINDOW_NAME_MANGLE >/dev/null 2>&1 ; then +if ! type $MUTTJUMP_SCREEN_WINDOW_NAME_MANGLE >/dev/null 2>&1 ; then function MUTTJUMP_SCREEN_WINDOW_NAME_MANGLE () { basename "$1" }