Skip to content

fix(zsh): drop [NORMAL]/[INSERT] prompt label - #6

Merged
zkm merged 1 commit into
masterfrom
drop-vi-mode-label
Nov 4, 2026
Merged

zkm merged 1 commit into
masterfrom
drop-vi-mode-label

Conversation

@zkm

@zkm zkm commented Nov 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove the zle-keymap-select hook in zshrc that prefixed the prompt with [NORMAL]/[INSERT].
  • Starship's character module already shows vi mode (❯ insert / ❮ normal), so the label was redundant. Because of add_newline = true, it also rendered on its own line above the prompt.
  • Update the shell config chain description in docs/subsystems.md to match.

Testing

  • zsh -n zshrc passes.
  • A new interactive shell's PROMPT is Starship's own, with no label prefix.

🤖 Generated with Claude Code

@zkm
zkm merged commit 0e0b2d6 into master Nov 4, 2026
2 checks passed
@zkm
zkm deleted the drop-vi-mode-label branch November 4, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant