Skip to content
jthegunner_

← All projects

omnishell

A cross-platform shell initialization engine designed to provide a unified interactive terminal experience across macOS and Linux, supporting both Bash and Zsh.

ActiveCI passing

★ 0 · Last push 1 Dec 2026

Open on GitHub

Installation

brew install jthegunner/tap/omnishell

Releases

  1. v0.11.0

    Show changes

    Changelog

    • 797e9eedfa7f093ff9c8faa4afe6dc8c490e9514 chore: prepare v0.11.0 (#91)
    • 95d26ce132704e430f8086b4619e7ad06b8caa94 feat: configure chosen terminals for zsh-edit-select on apply (#90)
    • 9631da4d40e3e4f26648c4b26a5288082347b554 docs: state that the Linux agent comes from the plugin's latest release
    • f6291aab35d6d9b4446f117b3581a12d2fdfb48e feat: add zsh-edit-select module
    • 3f79b3b262136e0448c180220d3beec219229342 docs: add Product Hunt badge to README
  2. v0.10.0

    Show changes

    Changelog

    • cfdbebf35779f1f820c4dc00dfb431af36f3f21b chore: prepare v0.10.0
    • 83826b48c7550cc93995a8ee37b3cd49f443cd0b Merge pull request #86 from JtheGunner/chore/OMNIS-61-switch-ci-jobs-to-local-self-hosted
    • 974324c03a6232acaa03b93549f9ad1631364660 test: stop assuming a non-root user in sudo argv tests
    • d2a1bf1f80f6cf8c8002d31084e328b2b10d8aef Merge pull request #85 from JtheGunner/fix/OMNIS-37-quiet-package-queries-in-apply
    • d464e512713453011de623f6bed90e67f0558b0e ci: fail closed on the local-runner fork guard
    • 69aa1967833a399fca63cf04b96e2757f5032453 ci: state why the e2e macOS job stays GitHub-hosted
    • 458cf5ee6322d8bbc02701575761a649e51ee7a5 chore: merge main into fix/OMNIS-37-quiet-package-queries-in-apply
    • bb32db5c319cbd94c5b5f8c6561de59b20dbc77b ci: run trusted jobs on the local self-hosted runner
    • bd80f879f24f815928d6e5a8c2587257ac27a43d fix: plan the fallback of fallback-only modules without a package manager
    • 29fb1d53e9ef4e95c3d9bdb85a5a424c9c47a770 Merge pull request #80 from JtheGunner/feat/OMNIS-54-show-cheatsheet-of-active-modules
    • 7f1e9bb1589de073e79013780c719fed3efd3048 fix: make the navi cheatsheet shell-aware and drop superpowers docs
    • 8e25c140469e493edad698db462103af41a657b6 Merge pull request #83 from JtheGunner/docs/OMNIS-57-design-remote-module-registry
    • 2116727e93bd2c0f933d22c1f54e69ae6ffe5ba1 feat: add cheatsheets for ble-sh, delta and navi
    • 02fefc39bd8299c9576b427d1df9330b97718266 docs: harden remote registry design after review
    • 2972ec7732d52e3868fb2b4fbc94012b0cde2e63 Merge remote-tracking branch 'origin/main' into feat/OMNIS-54-show-cheatsheet-of-active-modules
    • 80605515cbf3e98e3a8887a5b3d4e7395d7c9165 docs: propose design for a signed remote module registry
    • 1bd48e12997d35e819b4df050a41d9833bcaa38e Merge pull request #82 from JtheGunner/feat/OMNIS-58-add-self-update-command
    • e896a5950f7243d24d1086c0bce1ebe7d7ea06bc feat: add self-update command for hosts without Homebrew
    • 1dd74d6d9c8ac1bc997e06f177b3005129bbeeb6 Merge pull request #81 from JtheGunner/feat/OMNIS-59-add-delta-module-for-git-pager
    • 262baf9097bf44b8b14b338421f57e2bf6109485 chore: merge main into feat/OMNIS-59-add-delta-module-for-git-pager
    • 85b9f387c9e465c5a8754f7ede2cd8885d9a83e1 Merge pull request #79 from JtheGunner/chore/OMNIS-56-add-logo-to-readme-and-social-preview
    • 124a5119e5db0aaf3cfcb2ad995449a6bb973122 feat: add delta module and decide against non-shell files
    • 4c6b3ef627db057c88cb40e05402295c094c8115 Merge pull request #78 from JtheGunner/feat/OMNIS-52-add-ble-sh-module
    • a17eda24effd4969865bd8b5b2608a53a24829c2 docs: add logo to README header and social preview image
    • e89236323ebbb84fb6530f8f545f58d648d67c4c feat: add ble-sh module for bash autosuggestions and highlighting
    • e5887ccc25e70292f5acf495a410df4a2481c4e8 Merge pull request #77 from JtheGunner/chore/OMNIS-55-design-omnishell-logo
    • 518fcde27fbaf619de9a529c7a042bfb5ccfbc2b fix: correct cheatsheet wording for completion and prompt modules
    • 6f138ea79c136ddcce831b7028461de83e0a7617 fix: handle empty $SHELL and empty descriptions in cheatsheet
    • 7c77f96e2dbc800b059704ad1816525896b35a00 Merge pull request #76 from JtheGunner/feat/OMNIS-50-add-navi-module
    • e073e64804c95b095ccfcd6d758bf0cbdf28f8a2 test: require a cheatsheet for every built-in module
    • 27c395b7b5402f0de1e1185f76db9e0f2916a69f feat: add cheatsheets for prompt and session modules
    • 4f323ae701e0c4b81205b794faf5b8079cc4487a feat: add cheatsheets for alias and CLI helper modules
    • 137d594a5403a8cbf4bd16c3d6e857dfbc4cc86f fix: correct zoxide cheatsheet for cmd = cd
    • 18d955018e9eff5b8e608c822d92f5b0368e8ece feat: add cheatsheets for search and navigation modules
    • c7fa27fba54b4fdae67f35122409e0885c230281 feat: add cheatsheets for completion, history and plugin modules
    • e50cf80455bad1d41e5c16114ee26d8ef1fcbd4c feat: add 'omnishell cheatsheet' command
    • 29267339e3a1ce725759caa9e75cb71b359c947e feat: add read-only cheatsheet selection to modedit
    • f684f5c56bd915d0618eb4914da34c7e322b581f feat: add cheatsheet.tmpl reader and CleanLines
    • 570f747c16f41378bce21f1ab33ce0e90fd73627 feat: add navi module with Ctrl+G widget and pinned release fallback
    • b1d1c55d94c63daca3e855707c5dc4411b146b26 Merge pull request #75 from JtheGunner/feat/OMNIS-53-add-dynamic-completion-module
    • f7fca35f5644c11e4e84b07d316b3eed02464ac4 feat: add dynamic-completion module for bash complete -C
    • a52327e58c97d4e009dee0fd3e5d9e09b92f41e8 Merge pull request #74 from JtheGunner/feat/OMNIS-51-install-bash-completion-with-macos-path
    • 422c48d0c13808e47731c80d6a8551915823535c feat: install bash-completion and find it under the Homebrew path in completion module
    • 88418100288efc93fa667e91b44dfb238d94585e feat: add you-should-use module for zsh
    • 9100e8178a4a63ff64dcfc626e7f7c4e60c69e80 feat: add tealdeer module
    • 8545c22e44bc12696f6d6eeb3009e8d9b7759bb9 fix: keep package manager queries off the terminal during apply
  3. v0.9.0

    Show changes

    Changelog

    • 246afb8041f9d09c605a2a207af58f69aa9b6b58 chore: prepare v0.9.0 (#71)
    • c788922b91ed8434320dd8e8adbdced2983aa5d9 feat: add nocorrect_commands option to spell-correction
    • f40b009c9633ee8d908873f786987e183fca60c8 feat: allow a pattern on list options
    • be35436af618984d8048051e6b43fdb1907cdb0b feat: add 'omnishell config sync' to update config.toml after an upgrade (#68)
    • eaa5c6717728a28d04f5c05ffa806a275583bf1d feat: add opt-in spell-correction module for zsh (#69)
    • 7d18ae9fb71e541af173584743f635d9a3405a6b feat: add zsh-completions module and doctor check for writable completion dirs
    • c2677cb2babf2be9b89b89c2998c09c8cfe2f8be chore(deps): bump the go-deps group with 3 updates (#65)
    • b406c269c8400034cc5866b1bf02717ebe4a1aba chore: update pinned fallback tags (#66)
  4. v0.8.0

    Show changes

    Changelog

    • ea8d669c279ebdb4b677c61f5a56072437bfa601 chore: prepare v0.8.0 (#64)
    • 9546bb948d6841f9fd63a9d7c869c303cbe9c71e feat: install eza from its release binary where no package exists (#63)
  5. v0.7.1

    Show changes

    Changelog

    • ce83aff2090e11faada35658c97e9629129fd081 chore: prepare v0.7.1 (#62)
    • b3284b15bcb2577583dd9e03a5219c1f295e7d9f fix: put the vendor bin directory on PATH in the init files (#61)
    • 9e96ce674c67618a635dc9d4ab731f412744da74 chore(deps): bump the go-deps group across 1 directory with 3 updates (#59)
    • e31dfb8c7ddd33c09abb064806f527fab4d8d53b chore(deps): bump peter-evans/create-pull-request (#54)
    • c7cb168c756a16ae935d75f9dd51d30464c3d342 chore: update pinned fallback tags (#60)
    • 6c7d1065026d6e17f0c8d7e6dde10c960c80c340 chore: bump doc-drift-checker to v0.3.0 (#58)
    • 591f501c483108ec8caa89835e2947a5874716a4 docs: remove false git-fallback claim for zoxide in README (#57)
    • 8e52ddd01e27744d0973980f4b4da8292b2e30e9 ci: add warn-only docs drift check for pull requests (#56)
    • 6a3ed166f616c30edbb8d9461f76d94dfb75a6d6 chore: update pinned fallback tags
    • 86500bddadb5ba6800d8a12a027a145c98bfb605 chore: update pinned fallback tags
    • 4d1eb9b3a241d2edff584f41b13f5c909e67736b chore: write the Homebrew formula into Formula/ of the tap (CLIPK-42)
    • 89a757914cca4ed4e72042f5e23cb903a463cf20 chore: update pinned fallback tags
    • 407c25a2cae3e0cead379a71b6e0ad79c5cfdec0 chore: update pinned fallback tags
    • a36a590077407287b34388ffd56f16ac3117d1bc chore: update pinned fallback tags
    • 7eeb0c43ba1cc5e7b40ae35398a9459ae6e74d7f fix: edit TUI text fields by grapheme cluster
  6. v0.7.0

    Show changes

    Changelog

    • 4b2cc06d5c04d9822ac6aa1cbd47d88fddbfefef chore: prepare v0.7.0
    • ff4b970b204e2c627134a013194f353b53cd2965 OMNIS-36: Polish the TUI after the first reviews (#45)
    • e757633d1d6b0814817424a3f118e7045df46ed0 fix: write TOML escapes instead of Go escapes for config values (#44)
    • 6f8790d1a972a6f4d3ecaa9beb23973544ff353e OMNIS-33: Add the options editor to the TUI (#43)
    • f6e3bfe8aa662cc8f6af6b1e4134f267f5b9dd28 OMNIS-34: Add the plan preview and apply handoff to the TUI (#42)
    • fe84e924eb046cd904ae78fd75e5cc9281b01638 fix: keep package manager output out of read-only commands (#41)
    • b2a0005766f430ddb3df92651497d950e7f2f648 OMNIS-32: Toggle modules in the TUI (#40)
    • 74c8d7cea4b69f036fb6c61751f587602a186e34 OMNIS-31: Add the TUI skeleton and module browser (#39)
    • 304f65d6115cc61e315ea00c94ab3e7e82d24f57 OMNIS-14: Extract modedit from the CLI commands (#38)
  7. v0.6.0

    Show changes

    Changelog

    • ff21fe88209bc44970e149ec26df123507312eae chore: prepare v0.6.0
    • f125cfa2f754a25c48edbc7e03b35ff251d5269b OMNIS-30: Support 32-bit ARM (armv6/armv7) (#36)
    • 2821bfae21e964dffa3fd60323ba98ded0a64469 fix: remove unused field from install test fixture (#35)
    • a0129a25fd95077756592df4011371f665a0343f fix: resolve latest release without the GitHub API in install.sh (#34)
  8. v0.5.0

    Show changes

    Changelog

    • 232a7916abbdfa685df66991cd57c52d12c38584 OMNIS-28: Fix review findings and prepare v0.5.0 (#33)
    • 543d7607639a8ae03548602e9c8eb6547cf06d86 OMNIS-28: Install release binaries for mise, starship and broot (#31)
    • 448512a6248169f6cc3ede6658c0bdf7b4408813 docs: describe the release process and the tag guards

All 18 releases on GitHub

README

Image: omnishell logo: a hexagon of six module segments around an amber shell prompt

omnishell

Modular, declarative, reversible terminal configuration for macOS and Linux. One config.toml lists the modules you want; omnishell apply installs, renders and wires them into a single tool-managed init file.

📝 config.toml  →  ⚙️ omnishell apply  →  🐚 init.zsh · init.bash

Image: omnishell - Modular, declarative, reversible terminal configuration | Product Hunt


🎯 What it is

omnishell is a single static binary that applies terminal configuration on macOS and Linux in a modular, declarative, reversible way. You keep a plain local file — config.toml — that lists which modules are enabled and their options. Running omnishell apply then:

  1. installs any programs a module needs (via the detected system package manager — brew, apt, dnf, pacman, zypper, apk — with a git clone fallback, pinned to a release tag, when the manager has no package for the module or its repositories cannot provide it),
  2. renders each module's shell snippet,
  3. writes everything into a single tool-managed init file per shell (init.zsh / init.bash), sourced from your ~/.zshrc / ~/.bashrc via one marker block,
  4. records the result in a lockfile for idempotency, drift detection and clean removal.

Note
Your own .zshrc / .bashrc is never rewritten beyond that one marker block, every write is backed up first, and running apply twice with no config change is a no-op. No git repo, no account, and no network are required for normal use.


📦 Install

Homebrew:

brew install jthegunner/tap/omnishell

Curl (servers without Homebrew — downloads the matching binary):

curl -fsSL https://raw.githubusercontent.com/JtheGunner/omnishell/main/install.sh | sh

The installer resolves the latest release through the github.com redirect, so it does not use the rate-limited GitHub API. To install a specific release, set OMNISHELL_VERSION (for example OMNISHELL_VERSION=v0.5.0).

To update an installation that did not come from Homebrew, run omnishell self-update (--check only reports whether a newer release exists). Homebrew installs update with brew upgrade jthegunner/tap/omnishell.

Go:

go install github.com/JtheGunner/omnishell/cmd/omnishell@latest

🖥️ Supported platforms

OS Architecture uname -m Release archive
🍎 macOS x86_64, arm64 x86_64, arm64 omnishell_darwin_amd64, omnishell_darwin_arm64
🐧 Linux x86_64 x86_64 omnishell_linux_amd64
🐧 Linux arm64 aarch64 omnishell_linux_arm64
🐧 Linux armv7 (also a 32-bit userland on a 64-bit CPU) armv7l, armv8l omnishell_linux_armv7
🐧 Linux armv6 (Raspberry Pi 1 / Zero) armv6l omnishell_linux_armv6

On 32-bit ARM, starship installs a release binary on armv6 and armv7, and mise, tealdeer and navi on armv7. broot has no 32-bit ARM binary, so it builds from source there (needs Rust).


🚀 Quick start

omnishell init                 # create the config, hook it into your shells
omnishell enable fzf           # or edit ~/.config/omnishell/config.toml by hand
omnishell apply                # install packages + write the init files
exec $SHELL                    # open a new shell to pick up the changes

omnishell init creates ~/.config/omnishell/config.toml with everything disabled and inserts the source marker block into the detected shells' rc files. enable / disable / set only edit config.toml — nothing touches your system until you run omnishell apply.


🎛️ Commands

-h / --help works on every command.

Command Purpose Flags
omnishell init Create the omnishell config and hook it into your shells. Idempotent. —
omnishell list List known modules and their status (enabled/disabled, packages, platforms, shells, source, description). --json (emit a JSON array instead of the table; also includes each module's homepage)
omnishell cheatsheet [id ...] Print the commands, aliases and key bindings your active modules provide, as Markdown (read-only; see below). --shell zsh|bash (default: $SHELL if managed, else the first managed shell)
omnishell tui Browse and toggle modules in a full-screen terminal UI: a module list with description, homepage, package status, platforms and shells, a / filter, and Space to enable or disable the selected module (written to config.toml at once, like enable / disable). o edits the module's options (bool, enum, string and int; each change is written at once and validated like omnishell set). a previews the plan; confirming it closes the UI and runs omnishell apply, which still asks before it changes anything. Modules that cannot run on this host are dimmed with the reason; a module that only lacks OS support can still be enabled, but apply skips it. Needs an interactive terminal (exit 2 otherwise). —
omnishell enable <module> Enable a module in the config. Does not apply. —
omnishell disable <module> Disable a module in the config. Does not apply. —
omnishell set <module>.<key> <value> Set a module option in the config, validated against that module's option schema. —
omnishell config sync After an upgrade, compare config.toml with the installed modules: lists the options a module gained (with default and description) and the options and module tables that no longer exist. Without --write it only shows that diff. With --write it first backs the file up (an omnishell rollback snapshot), adds new options as commented-out lines holding their default, and removes the stale entries; your comments, values and the order of the file are kept. Only modules that already have a [modules.<id>] table are looked at. Anything it cannot edit safely (inline tables, dotted keys) is reported for you to change by hand. --write
omnishell validate Check config.toml against the module option schemas and dependency rules (requires / conflicts / cycles). Computes no plan and probes nothing on the host; exit 2 on any problem. Useful in CI for a version-controlled config.toml. --json (emit a JSON object instead of the text report)
omnishell apply Bring your shells up to date with the config. --dry-run (show the plan without changing anything), --force (overwrite init files that were edited by hand), --no-packages (skip package installation), -y / --yes (apply without the confirmation prompt), --reload (re-exec $SHELL after a successful apply; no-op in a non-interactive shell)
omnishell diff Show what apply would change (apply --dry-run). —
omnishell doctor Check the installed shell environment for drift. Exit 3 if any drift is found. --fix repairs the drift a re-apply resolves (missing / stale init file, missing rc source line, orphaned lockfile entries); a hand-edited init file and missing packages are left for a manual apply / apply --force. --fix (repair re-apply-able drift), -y / --yes (with --fix, skip the prompt)
omnishell bench Measure how much sourcing the generated init.<shell> adds to shell startup, per managed shell, and warn when it exceeds the startup budget. A rough guide (moves with machine load), always exits 0. --json (emit a JSON object), --runs <n> (timed runs per measurement, default 5)
omnishell rollback List backup snapshots, or restore files/lockfile to their state before a chosen one (--to <timestamp>), undoing that run and everything after it. Never touches packages; config.toml only when you roll back an omnishell config sync snapshot. --to <timestamp>, --dry-run, -y / --yes
omnishell remove <id> Disable a module and drop its shell section, then re-apply. --dry-run, --purge (also uninstall the module's packages, run its remove hook, and delete vendored files), -y / --yes
omnishell uninstall Remove omnishell's shell integration (marker block + generated init.<shell> files). Every touched file is backed up first. --purge (also delete ~/.config/omnishell entirely), -y / --yes
omnishell self-update Update the binary to the latest release, for hosts without Homebrew: resolves the newest tag through the github.com redirect (like install.sh), verifies the archive against checksums.txt (SHA-256), then atomically replaces the running binary. Only a strictly newer release updates; on any failure the old binary stays. On a Homebrew install it points to brew upgrade jthegunner/tap/omnishell instead. It never uses sudo, and a development build is never replaced. --check (only report whether a newer release exists)
omnishell version Print the omnishell version. —
omnishell completion Cobra-generated shell autocompletion script generator (distinct from the completion module). —

omnishell cheatsheet is a quick reminder of what your enabled modules gave you, without opening the README. Example with a module direnv that ships a cheatsheet.tmpl. Modules without one are listed at the end, and a module whose packages are not installed yet is flagged. A module id that is not active exits 2; a template that fails to render is reported on stderr and exits 1.

$ omnishell cheatsheet
# omnishell cheatsheet (zsh)

## direnv (direnv)
Per-directory environment variables

- `direnv allow` — trust the `.envrc` in the current directory
- `direnv deny` — revoke that trust

📖 Shell completion & man page for the omnishell command

Not to be confused with the completion module (which configures your shell's completion system) — this is tab-completion for typing omnishell itself, plus man omnishell.

  • Homebrew installs the bash/zsh completions and the man pages automatically.
  • install.sh drops them into $XDG_DATA_HOME (~/.local/share) on a best-effort basis — bash into bash-completion/completions/, zsh into zsh/site-functions/ (make sure that dir is on your $fpath), man into man/man1/.
  • go install: generate on demand, e.g. omnishell completion zsh > ~/.local/share/zsh/site-functions/_omnishell.

🔧 How it works

The config directory is $XDG_CONFIG_HOME/omnishell, or ~/.config/omnishell when XDG_CONFIG_HOME is unset:

Path What it is
📝 config.toml The file you edit (by hand, or via enable / disable / set). The [omnishell] table also takes startup_budget_ms (default 200) — the per-shell added-cost threshold omnishell bench warns above.
🐚 init.zsh / init.bash Tool-generated. Do not edit — apply regenerates them and doctor flags manual edits.
🔒 state.lock.json Machine-managed lockfile (idempotency, drift detection, clean removal). Not for editing.
💾 backups/<timestamp>/ Every rc-file and init-file write is copied here first.
🧩 modules/<id>/ Your own modules (same format as the built-ins).
📥 vendor/ Clones made by the git package fallback (apply moves them to the tag the manifest pins and rebuilds) and bin/ with release binaries. The init files append vendor/bin to PATH.

Each managed rc file gets exactly one marker block, appended at the end:

# >>> omnishell >>>
[[ -f "$HOME/.config/omnishell/init.zsh" ]] && source "$HOME/.config/omnishell/init.zsh"
# <<< omnishell <<<

The generated init.<shell> file carries a header with a Content hash, then one section per module wrapped in # >>> omnishell:<id> (v<ver>) >>> … # <<< omnishell:<id> <<< markers, in dependency order. It is written atomically (temp file + rename) after the old copy is backed up. Only apply, remove, and uninstall change your system (and init inserts the rc block); everything else just reads or edits config.toml.


🧩 Built-in modules

id Description Packages Shells Options
completion Enable shell completion with case-insensitive matching. For bash it also sources bash-completion (Homebrew path first, then the distro paths; needs Bash 4.2+, so the macOS system Bash 3.2 is skipped). The package is installed on zsh-only hosts too, though only the bash snippet uses it bash-completion (bash-completion@2 on Homebrew) zsh, bash —
zsh-completions Extra zsh completion definitions, put on fpath before compinit runs (zsh) — zsh-users/zsh-completions. omnishell doctor warns when its directory (or the parent) is writable by group or others, which makes compinit report "insecure directories" zsh-completions; git fallback zsh —
dynamic-completion Bash completion for CLIs that complete themselves, through bash's native complete -C <binary> <name> (no static completion scripts). commands lists what to register: name (for example terraform, vault) or name=binary for tools with a separate completer (aws=aws_completer). Only binaries found on PATH when the shell starts are registered; missing ones are skipped silently. Installs nothing: the binaries themselves come from you or another module. Bash only by decision: zsh gets completion through completion and zsh-completions; bashcompinit is deliberately not used. — (config only) bash commands (list<string>, default empty)
history Larger, de-duplicated, shared shell history and prefix search — (config only) zsh, bash size (int, default 50000)
autosuggestions Fish-style grey inline command suggestions from history (zsh) — zsh-users/zsh-autosuggestions zsh-autosuggestions; git fallback zsh highlight_style (string, default fg=8)
syntax-highlighting Colour commands green/red as you type depending on validity (zsh) — zsh-users/zsh-syntax-highlighting zsh-syntax-highlighting; git fallback zsh —
you-should-use Reminds you of an existing alias when you type the long command it stands for (git status → gs) — MichaelAquilina/zsh-you-should-use. Loads after modern-aliases, so its aliases count. The plugin is GPL-3.0; omnishell only installs and sources it. Hardcore mode (refusing commands) is deliberately not offered zsh-you-should-use (Homebrew); every other manager uses the pinned git fallback zsh message_position (enum before | after, default before), mode (enum BESTMATCH | ALL, default BESTMATCH), ignored_aliases (list<string>, default empty)
fzf Ctrl+R history search as a fuzzy, scrollable list (+ optional Ctrl+T) — junegunn/fzf fzf; git fallback zsh, bash ctrl_r (bool, default true), ctrl_t (bool, default false), default_opts (string, default --height 40% --reverse --border)
zoxide Smarter cd that learns your most-used directories — ajeetdsouza/zoxide zoxide zsh, bash cmd (string, default z)
direnv Per-directory environment variables loaded from .envrc files (each new .envrc needs a one-time direnv allow) — direnv/direnv direnv; git fallback zsh, bash log_format (string, default "" = silent), whitelist (list<string>, default [])
mise Per-project runtime versions (node, python, go, …) from mise.toml / .tool-versions — jdx/mise mise (brew, pacman); else release binary, then git + cargo fallback zsh, bash mode (enum activate | shims, default activate)
pay-respects Suggest a corrected command after a failed one, run via the alias (a Rust thefuck alternative) — iffse/pay-respects pay-respects (brew); else git + cargo fallback (needs Rust) zsh, bash alias (string, default f)
atuin SQLite-backed shell history with fuzzy search, context and stats — atuinsh/atuin. Mutually exclusive with fzf (both bind Ctrl+R) — enabling both is a config error. atuin (brew, pacman); else git + cargo fallback (needs Rust) zsh, bash bind_ctrl_r (bool, default true), bind_up_arrow (bool, default true)
ble-sh Autosuggestions and syntax highlighting for bash (until now zsh-only) via ble.sh. Opt-in, bash only: it replaces parts of Readline with its own line editor, so it conflicts with fzf and atuin (they rebind Ctrl+R and the completion keys; enabling either alongside is a config error) and may interact with your own bind settings. Loads after completion and history; sourced with --attach=prompt in interactive shells only. Built from a pinned clone (v0.4.0-devel3), so it needs make, gawk and git (on macOS: brew install gawk). A missing build is skipped silently. pinned git clone built with make (no package manager ships it) bash —
zsh-edit-select Edit the command line like a text editor: Shift+arrow selection, copy, cut, paste, undo/redo, type-to-replace and mouse selections — Michael-Matta1/zsh-edit-select (MIT), installed from the JtheGunner fork whose installer can configure terminals. It needs terminal key bindings that send its key sequences to the shell: switch on the terminals you use with the terminal_* options and apply runs the plugin's own installer for them (restart the terminal afterwards). On macOS it also needs Accessibility permission for mouse selections (edit-select setup-ax). Those terminal files are written by the plugin's installer, not by omnishell, so backups, rollback and doctor do not cover them. Loads after completion, autosuggestions and syntax-highlighting. A manual install blocks it: remove the plugin's source line from ~/.zshrc, delete the old clone and stop its agent. omnishell cheatsheet lists the keys pinned git clone of the fork (v0.7.02); on macOS apply builds the clipboard agent with make (Xcode Command Line Tools). On Linux the plugin itself downloads its agent on the first shell start, from its latest GitHub release rather than the pinned tag (checked against that release's SHA256SUMS.txt, not against anything omnishell pins); edit-select build compiles it from source instead zsh terminal_ghostty, terminal_kitty, terminal_alacritty, terminal_wezterm, terminal_foot, terminal_konsole, terminal_iterm2, terminal_vscode, terminal_windows_terminal (bool, default false)
modern-aliases Replace ls/cat/find with eza, bat and fd when selected eza, bat, fd; eza as a release binary where the manager has no package zsh, bash replace (list<enum> of ls, cat, find; default ["ls", "cat", "find"])
colorized-man Syntax-highlighted man pages via bat when present, with a zero-dependency less colour fallback — (config only) zsh, bash —
tealdeer A fast tldr client: short, practical command examples instead of long man pages — tealdeer-rs/tealdeer. The page cache is not filled by apply; tldr downloads it on first use tealdeer (all managers); else a verified release binary (Linux x86_64, arm64, armv7) zsh, bash —
navi Interactive cheatsheet browser: pick a command from your cheatsheets and fill in its arguments — denisidoro/navi. Requires fzf (its selector). The widget opens on Ctrl+G, which fzf and atuin leave free; no cheatsheets are shipped navi (all managers); else a verified release binary (Linux x86_64, arm64, armv7) zsh, bash key (ctrl-<letter> or alt-<letter>, default ctrl-g; Ctrl+G is restored to its shell default when changed; bash older than 4.0 keeps Ctrl+G)
ls-colors A consistent, readable colour palette for ls / eza and filename completion (LS_COLORS on Linux, LSCOLORS on macOS) — (config only) zsh, bash —
root-loops Recolour the terminal to a rootloops.sh-generated 16-colour palette on shell start via OSC 4/10/11 escapes (tmux-aware). Opt-in: it overrides your terminal's own colours. auto follows the system light/dark setting (AppleInterfaceStyle on macOS, the freedesktop color-scheme portal on Linux). — (config only) zsh, bash appearance (enum auto | dark | light, default auto)
delta Syntax-highlighted git diffs: delta becomes git's pager through GIT_PAGER. ~/.gitconfig is never edited (omnishell writes no files outside its init files), so interactive.diffFilter is not set and an existing GIT_PAGER is kept. Loads after pager-defaults git-delta (brew, apt, dnf, pacman, zypper), delta (apk); no release fallback zsh, bash side_by_side (bool, default false), navigate (bool, default true), line_numbers (bool, default true)
pager-defaults Sensible less defaults: colour passthrough, quit-if-one-screen, smart-case search, a saved search history — (config only) zsh, bash —
window-title Keep the terminal window/tab title set to the current working directory — (config only) zsh, bash —
spell-correction zsh's built-in spelling correction: offers to fix a mistyped command name (gti → git). Opt-in: it asks zsh: correct 'x' to 'y' [nyae]? on unknown commands, which interrupts typing for some users. scope = "all" also checks arguments, including file names that do not exist yet (mkdir foo) — noisier. nocorrect_commands lists commands to exempt from correction (git, mkdir, …): each becomes a nocorrect alias, and a command another module already aliases is left alone. — (config only) zsh scope (enum commands | all, default commands), nocorrect_commands (list<string>, default empty)
fzf-tab Replace the zsh completion menu with a scrollable, previewable fzf picker (cd <Tab>, git checkout <Tab>, …) — Aloxaf/fzf-tab. Requires fzf. git clone (no distro package) zsh cd_preview (bool, default true)
omnishell-prompt A small, fast, git-aware two-line prompt with no external dependency. Opt-in: it sets PROMPT / PS1 — leave it off if you already run a prompt framework (starship, powerlevel10k, …). — (config only) zsh, bash style (enum minimal | full, default minimal), show_duration (bool, default false; zsh only), char (string, default ❯)
starship The minimal, blazing-fast cross-shell prompt — starship.rs. Opt-in: it sets the prompt. Seeds ~/.config/omnishell/starship.toml (a curated single-line theme) the first time a shell starts and points STARSHIP_CONFIG at it — edit that file to taste, omnishell never overwrites it. Mutually exclusive with omnishell-prompt — enabling both is a config error. starship (brew, apt, pacman, apk); else release binary, then git + cargo fallback zsh, bash —
broot A navigable directory-tree TUI; the br function cd's into the directory you pick — Canop/broot broot (brew, apt, dnf, pacman); else release binary, then git + cargo fallback zsh, bash cmd (string, default br)
welcome Run fastfetch on every interactive shell start for a system summary. Opt-in — this runs a program on each new shell and adds visible startup latency. fastfetch; git + cmake fallback zsh, bash only_ssh (bool, default false)
tmux Auto-attach to (or start) a tmux session on interactive shell start, unless already inside one ($TMUX set). Opt-in — every new interactive shell drops you into the multiplexer. Loads before the prompt modules so the session is up before the prompt initialises. Set auto_attach = false to only manage the tmux package and emit nothing into shell startup. tmux (all managers) zsh, bash session (string, default default), auto_attach (bool, default true)

zsh-completions, when enabled, loads before completion so its directory is on fpath when compinit runs. dynamic-completion (bash) loads after completion. ble-sh (bash) loads after completion and history, and cannot be enabled together with fzf or atuin. you-should-use loads after modern-aliases. autosuggestions and syntax-highlighting are zsh-only and render after every other module except zsh-edit-select (with syntax-highlighting after autosuggestions); fzf-tab, when enabled, loads after completion/fzf and before both of those. zsh-edit-select loads after both, the order the plugin is written for. tmux, when enabled, loads before the prompt modules (starship, omnishell-prompt).

🔨 Build prerequisites for the git fallback

Note
mise, starship and broot install a verified release binary first (Linux x86_64 and arm64; on 32-bit ARM starship, and mise on armv7). The prerequisites below only apply to them on other architectures.

When no package is available, some modules are built from source. Before cloning anything, omnishell apply checks that the required tools are present (<tool> --version) and, if a minimum applies, recent enough. If something is missing, the module is reported as degraded with a message such as fallback prerequisites missing: cargo >= 1.95 (found 1.75.0); cmake (not found). omnishell does not install build tools — install them yourself and re-run omnishell apply.

🧱 Module Needs
🦀 mise cargo ≥ 1.95, cmake
🦀 starship cargo ≥ 1.95
🦀 atuin cargo ≥ 1.95
🦀 broot cargo ≥ 1.85
🦀 pay-respects cargo ≥ 1.85
⚙️ welcome cmake
⚙️ ble-sh make, gawk, git
⚙️ zsh-edit-select git; on macOS make and clang (Xcode Command Line Tools)

Tip
Distribution cargo packages are often too old. Install a current Rust toolchain with rustup, and cmake from your package manager. The versions above are the minimums the upstream projects declare and can change with new releases.


✍️ Writing your own module

A module is just a folder: a manifest.toml, one zsh.tmpl / bash.tmpl per shell, and an optional hooks/ directory. Drop it in ~/.config/omnishell/modules/<id>/ and it shows up in omnishell list with no rebuild; a user module with the same id as a built-in overrides it (and doctor flags the shadowing). See docs/writing-a-module.md for the full manifest reference, the template context, and a worked example.


🛡️ Safety

  • Nothing changes on your system without omnishell apply, omnishell remove, or omnishell uninstall (init also inserts the rc marker block).
  • Every write to a rc file or init file is preceded by a timestamped backup under ~/.config/omnishell/backups/<timestamp>/.
  • apply refuses to overwrite an init.<shell> file that was edited by hand (exit 1); it tells you to re-run with --force. omnishell doctor reports the same condition as initfile-edited drift.
  • Init files are swapped in atomically only at the very end of apply; an abort before that leaves the old state intact.
  • omnishell doctor reports drift (missing packages, hand-edited init files, missing source line, orphaned lockfile entries, shadowed built-ins) and is CI-friendly via exit code 3. It also warns (without failing) about group- or world-writable completion directories of the zsh-completions module and prints the chmod go-w command; it never changes permissions itself.
  • omnishell rollback restores files and the lockfile from a backup snapshot (see Commands) — but never packages or vendored files, and config.toml only from a snapshot omnishell config sync --write took. The one-time backup omnishell init takes of your rc file before inserting the marker block is a snapshot like any other: rolling back to it removes omnishell's rc integration (like a targeted uninstall), leaving config.toml in place. Two cases stay outside rollback: an uninstall --purge backup (saved outside the config directory since --purge deletes it — restoring it is manual, the path is printed when it runs); and anything remove --purge uninstalled (packages, vendored files) — remove --purge reverses those, not rollback.

🔢 Exit codes

Code Meaning
0 Success
1 Application error — e.g. package install failed, or ≥1 module degraded
2 Config / schema error — nothing was changed
3 Drift detected (omnishell doctor only)

🚧 Not in v1

  • fish support
  • remote module registry / installing modules from a URL
  • profiles (different module sets per machine)
  • Windows / PowerShell

🤝 Contributing

See CONTRIBUTING.md for build commands, test requirements, and the module-authoring reference.


📜 Changelog

See CHANGELOG.md for release history.


📄 License

MIT — see LICENSE. © 2026 Jeffry Würmli.

One binary, one config file, one init file per shell — and a backup before every write.