Adding the Oh My Zsh git plugin to show branch and status in your prompt
Learn how to enable Oh My Zsh's git plugin, configure its environment variables, and verify that your shell prompt displays branch names and change indicators.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to enable Oh My Zsh's git plugin, configure its environment variables, and verify that your shell prompt displays branch names and change indicators.
Learn how to enable Zsh’s programmable completion for your own scripts by writing a simple completion function, linking it with compdef, and verifying the result in a fresh shell.
Learn how to install and configure the third-party zsh-autosuggestions plugin with Oh My Zsh, a concrete git checkout example, customization options, and the trade-offs to watch.
Custom Oh My Zsh plugins are code sourced into every interactive shell. A minimal one-directory-per-plugin layout, deliberate load order, and four quick verification commands keep them maintainable and safe.
Oh My Zsh loads every plugin synchronously, adding 100–500 ms each. Use the community zsh-defer plugin to lazy-load heavy tools like nvm and kubectl completions after the prompt appears, cutting startup time in half while keeping lightweight plugins native.
Learn how zsh’s extended globbing lets you filter files by name, type, size, and even content directly in the shell, saving time and keeping scripts portable.
Learn a step‑by‑step workflow for adding, removing, and updating Oh My Zsh plugins while monitoring startup time and avoiding conflicts.
Zsh’s programmable completion lets you add context‑aware tab completions to any CLI. Learn how to write a minimal completion with _arguments, add dynamic data, debug with _complete_debug, and keep performance fast.
Zsh glob qualifiers filter filename matches by type, size, age, and ownership right in the pattern — no find, no pipes. A practical tour with a worked example and honest trade-offs.