Revert "make MUTTJUMP_SCREEN_WINDOW_NAME_MANGLE more flexible"
authorJohannes Weißl <jargon@molb.org>
Tue, 30 Nov 2010 18:02:55 +0000 (19:02 +0100)
committerJohannes Weißl <jargon@molb.org>
Tue, 30 Nov 2010 18:02:55 +0000 (19:02 +0100)
This reverts commit 7f10371624b262834ae75710f09a2cb5ab4aeea5.

muttjump

index f2b7ec7d6897329024b89562aab54e7f1f6e43c0..cb7e4fbb3a726a1f163c73d7d9aa1ca8eb8513c5 100755 (executable)
--- 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
 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"
     }
     function MUTTJUMP_SCREEN_WINDOW_NAME_MANGLE () {
         basename "$1"
     }

Benjamin Mako Hill || Want to submit a patch?