Signed-off-by: Johannes Weißl <jargon@molb.org>
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"
}