diff options
| author | 2026-05-19 15:16:09 +0100 | |
|---|---|---|
| committer | 2026-05-19 15:16:09 +0100 | |
| commit | 40563230031c0992b48ce3a32d2a2516a370c47a (patch) | |
| tree | a23f605c2da094f243b57cb4c3f086b07515504a /dot_config/yazi/yazi.toml | |
| parent | e5dd5aa8d3e11559eeefef413adbd23f2c8a2d8c (diff) | |
| download | dotfiles-40563230031c0992b48ce3a32d2a2516a370c47a.tar.gz dotfiles-40563230031c0992b48ce3a32d2a2516a370c47a.tar.bz2 dotfiles-40563230031c0992b48ce3a32d2a2516a370c47a.zip | |
refactor(zsh): rename zellij tabs to dir:cmd without position prefix
Zellij's default 'Tab #N' name is fixed at tab creation (the N is the
immutable creation index, not the live position) and never auto-updates
when tabs are closed or moved, so the default is actively misleading
after any tab reorg. Tmux's `renumber-windows on` has no zellij
equivalent and no plugin solves this cleanly.
Restore shell-side renaming but drop the position prefix `N:` — visual
order in the tab bar implies position. After a session resurrect or
closing a middle tab, untouched tabs still show their previous
dir:cmd label until the next prompt fires there, but at least there is
no misleading number to second-guess.
Diffstat (limited to 'dot_config/yazi/yazi.toml')
| -rw-r--r-- | dot_config/yazi/yazi.toml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dot_config/yazi/yazi.toml b/dot_config/yazi/yazi.toml index 0387edc..6c53cfe 100644 --- a/dot_config/yazi/yazi.toml +++ b/dot_config/yazi/yazi.toml @@ -8,7 +8,9 @@ title_format = "Yazi: {cwd}" # (otherwise yazi treats the viewer as an unfinished task and prompts on quit). [opener] open = [{ run = 'xdg-open "$@"', desc = "Open", orphan = true }] -view-md = [{ run = 'glow -p -- "$@"', desc = "Render markdown (glow)", block = true }] +view-md = [ + { run = 'glow -p -- "$@"', desc = "Render markdown (glow)", block = true }, +] # Render markdown with glow inside yazi instead of letting xdg-open hand it # to a text editor. |
