Skip to content

Fix Linux zsh startup and add host-specific local config#3

Open
Jish2 wants to merge 5 commits into
mainfrom
linux-zshrc-hostfile
Open

Fix Linux zsh startup and add host-specific local config#3
Jish2 wants to merge 5 commits into
mainfrom
linux-zshrc-hostfile

Conversation

@Jish2
Copy link
Copy Markdown
Owner

@Jish2 Jish2 commented May 13, 2026

Summary

  • guard Mac-only zsh init commands so Linux shells start without errors when tools are missing
  • load host/OS-specific local zsh config using the existing ##o.<OS>,h.<hostname> naming pattern
  • add a Linux host-specific local file for this machine: .zshrc.local##o.Linux,h.jgoon-jgoon-ws1

Test plan

  • run zsh -ic 'exit 0' and confirm startup completes without errors
  • verify .zshrc changes are loaded from home-managed yadm dotfiles
  • verify only .zshrc and the Linux host local file are included in this branch commit

Made with Cursor

Jish2 added 5 commits May 13, 2026 22:18
…m alternates.

Keep .zshrc platform-agnostic, move Darwin-specific settings into OS alternates, and make host alternates inherit OS defaults for a clearer multi-platform pattern.
… fresh machines.

Only run TPM when its executable exists to avoid noisy `returned 127` failures while sourcing tmux config.
Guard brew/pyenv/go setup in .zprofile for cross-platform startup and add local Pure repo fpath entries so `prompt pure` loads on this machine.
Use a direct Pure function check before enabling prompt pure in zsh, and have interactive bash sessions exec zsh so the zsh prompt loads by default in Devspaces terminals.
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