updated zellij scripts

This commit is contained in:
eeleater 2024-09-29 20:36:15 +02:00
parent fd47b9e969
commit 41cec2dfa6
4 changed files with 2 additions and 1 deletions

View file

@ -4,7 +4,7 @@ NO_SESSIONS=$(echo "${ZJ_SESSIONS}" | wc -l)
if [ "${NO_SESSIONS}" -ge 2 ]; then
zellij attach \
"$(echo "${ZJ_SESSIONS}" | fzf)"
"$(echo "${ZJ_SESSIONS}" | fzf | cut -d' ' -f1)"
else
zellij attach -c
fi