Skip to content

Zellij Snippets

Source: Introduction - Zellij User Guide

Terminal window
# Start with minimal user interface
zellij --layout compact
# Start with simplified UI and less special characters
zellij options --simplified-ui true
# Start a new session with name
zellij --session | -s myname
# Attach to session
zellij attach | a [session-name]
# List sessions
zellij list-sessions | ls
# Kill sessions
zellij kill-sessions | k
# Kill all sessions
zellij kill-all-sessions | ka
# Start with default config
zellij setup --clean
# Rename current tab
zellij action rename-tab [new-tab-name]
# Welcome screen (start menu to configure and view sessions)
zellij -l welcome
# Autostart Zellij on shell creation
echo 'eval "$(zellij setup --generate-auto-start bash)"' >> ~/.bashrc