diff --git a/tmux_viewer.sh b/tmux_viewer.sh index 344dbad..06bfb89 100755 --- a/tmux_viewer.sh +++ b/tmux_viewer.sh @@ -8,7 +8,7 @@ HOSTNAME="$(hostname).$(grep domain /etc/resolv.conf | cut -d " " -f 2)" function select_session () { if [ $(echo $SESSIONS | wc -w) == 1 ]; then SOCKET=$SOCKETS$SESSIONS - echo $SOCKET + view_session else echo "please choose a session to view: (or exit to quit)" select session in $(echo $SESSIONS); do