Skip to content

zsh: emacs keybinds and $SKIP_OCF_ZSHRC#222

Merged
24apricots merged 3 commits into
mainfrom
skip_ocf_zshrc
Apr 1, 2026
Merged

zsh: emacs keybinds and $SKIP_OCF_ZSHRC#222
24apricots merged 3 commits into
mainfrom
skip_ocf_zshrc

Conversation

@24apricots

Copy link
Copy Markdown
Member
  • add $SKIP_OCF_ZSHRC to skip our zshrc. this does not skip things enabled with nixos modules. those can be disabled with zsh --no-rc but we should figure out how we can let people do that in a config file (not a regression)
  • enable emacs keybinds by default

- provide an easy way to disable ocf zshrc: sometimes the global zshrc
  can conflict with a user's local zshrc, especially if it expects the
  bland upstream zsh defaults.
- improve formatting and comments
- add p10k.zsh to zshrc directly
    - while adding p10k.zsh to /etc like before allows people to import
      it in their zsh config, i dont think we should encourage people to
      depend on the layout of /etc to be stable beyond specific
      documented ocf config like $SKIP_OCF_ZSHRC.
this is a good nonintrusive default that adds useful keybinds while
not interfering with people's muscle memory
@24apricots 24apricots changed the title zsh: $SKIP_OCF_ZSHRC and emacs keybinds zsh: emacs keybinds and $SKIP_OCF_ZSHRC Apr 1, 2026
@24apricots
24apricots enabled auto-merge April 1, 2026 08:55

@jaysa68 jaysa68 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APPROVED

@24apricots
24apricots merged commit 0c5e0c6 into main Apr 1, 2026
2 checks passed
@24apricots
24apricots deleted the skip_ocf_zshrc branch April 1, 2026 10:58
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.

2 participants