zellij changes
This commit is contained in:
parent
b4da924469
commit
cd9b970b97
1 changed files with 1 additions and 1 deletions
2
.zshrc
2
.zshrc
|
@ -639,7 +639,7 @@ __alias__() {
|
|||
# Zellij session manager
|
||||
if command_exists zellij; then
|
||||
za() {
|
||||
if zellij list-sessions 2>/dev/null | grep -q .; then
|
||||
if ! zellij list-sessions | tail -1 | grep -q EXITED; then
|
||||
echo "-- Zellij session active! | Connecting to existing session --"
|
||||
sleep 0.3
|
||||
zellij attach
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue