Update zellij list sessions command

This commit is contained in:
Daniel Lynn 2024-02-12 10:50:34 -06:00
parent e7d96670b2
commit 66dea05cdd
Signed by: daniel
GPG Key ID: 28496A140E180A9D

View File

@ -6,7 +6,7 @@ if (( $+commands[zellij] )); then
if (( $+commands[sk] )); then
za() {
local zj_sessions=$(zellij list-sessions)
local zj_sessions=$(zellij list-sessions -ns)
local no_sessions=$(echo "${zj_sessions}" | wc -l)
if [ "${no_sessions}" -ge 2 ]; then