ohmyzsh/plugins/zellij
Hobeom 6b292d300e fix(zellij): change default prefix from z to zj
Avoid conflicts with popular directory jumpers (zoxide, z.lua, etc.)
by defaulting to "zj". Users can opt into "z" via ZSH_ZELLIJ_PREFIX_Z.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 21:00:38 +09:00
..
README.md fix(zellij): change default prefix from z to zj 2026-03-09 21:00:38 +09:00
zellij.plugin.zsh fix(zellij): change default prefix from z to zj 2026-03-09 21:00:38 +09:00

zellij

This plugin provides aliases and completions for zellij, the terminal workspace (multiplexer). To use it, add zellij to the plugins array in your zshrc file.

plugins=(... zellij)

Dynamic prefix

The default alias prefix is zj. To use the shorter z prefix instead, set the following variable before oh-my-zsh is sourced:

ZSH_ZELLIJ_PREFIX_Z=true

Note: If z is already aliased by another plugin (e.g., zoxide), the prefix stays zj even when ZSH_ZELLIJ_PREFIX_Z is set.

Aliases

Alias (default) Alias (with z) Command Description
zj z zellij Zellij command
zja za zellij attach Attach to a session
zjd zd zellij delete-session Delete a session
zjda zda zellij delete-all-sessions Delete all sessions
zjk zk zellij kill-session Kill a session
zjka zka zellij kill-all-sessions Kill all sessions
zjl zl zellij list-sessions List sessions
zjr zr zellij run Run a command in a pane
zjs zs zellij -s Start a named session

Completions

This plugin caches the zellij completion script in the background (using the same approach as the gh plugin). On first load the cache is generated; completions become available in the next shell session.