From 9d6524f3b5c050495d7de26cf01e0fd1cd8c0795 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 7 Mar 2018 04:29:28 -0300 Subject: Session fixes --- session | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'session') diff --git a/session b/session index c78631a..e39e406 100755 --- a/session +++ b/session @@ -184,9 +184,9 @@ function __session_open { # Dispatch if [ "$BASENAME" == "session-list" ]; then __session_list -elif [ ! -z "$1" ] && [ "$BASENAME" == "session-chooser" ]; then +elif [ "$BASENAME" == "session-chooser" ]; then __session_chooser -elif [ ! -z "$1" ] && [ "$BASENAME" == "terminal-session-chooser" ]; then +elif [ "$BASENAME" == "terminal-session-chooser" ]; then terminal session-chooser elif [ ! -z "$1" ] && echo "$1" | grep -q -- '--list'; then __session_list -- cgit v1.2.3