sss: tmux: display list of sessions if there are more than one
authorMikael Berthe <mikael@lilotux.net>
Wed, 20 Feb 2019 08:59:50 +0100
changeset 39 fc97d6cf8de4
parent 38 54b86a545f6c
child 41 be88f546392c
sss: tmux: display list of sessions if there are more than one
zshrc.d/30-functions-tmux.zrc
--- a/zshrc.d/30-functions-tmux.zrc	Wed Oct 03 22:57:00 2018 +0200
+++ b/zshrc.d/30-functions-tmux.zrc	Wed Feb 20 08:59:50 2019 +0100
@@ -42,6 +42,7 @@
         elif (( n > 1 )); then
             # There are several usable tmux sessions, heh
             echo "There are several usable tmux sessions..."
+            $TMUXBIN list-session
             return
         fi
     fi