aboutsummaryrefslogtreecommitdiff
path: root/session
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-03-07 04:29:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-03-07 04:29:28 -0300
commit9d6524f3b5c050495d7de26cf01e0fd1cd8c0795 (patch)
tree1e1294c14245fb54453d0714d5c8a417656feca0 /session
parent4e7b112ac65a5bd473f4e2fa45ca3eeed8c4cad8 (diff)
downloadutils-x11-9d6524f3b5c050495d7de26cf01e0fd1cd8c0795.tar.gz
utils-x11-9d6524f3b5c050495d7de26cf01e0fd1cd8c0795.tar.bz2
Session fixes
Diffstat (limited to 'session')
-rwxr-xr-xsession4
1 files changed, 2 insertions, 2 deletions
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