id = "oh-my-zsh" name = "Oh My Zsh" homepage = "https://ohmyz.sh" description = "Oh My Zsh is an open source, community-driven framework for managing your zsh configuration." # The project's own mark, from its homepage — no vector source publishes it. icon = "https://ohmyz.sh/img/ohmyzsh-logo-ansi.png" executables = ["omz"] [dotfiles] # `omz` is the command the framework defines (omz update, omz plugin list), so # it is the detect name; the entry is filed under the project's own name. # # oh-my-zsh.sh: # [[ -n "$ZSH" ]] || export ZSH="${${(%):-%x}:a:h}" # [[ -n "$ZSH_CUSTOM" ]] || ZSH_CUSTOM="$ZSH/custom" # and the installer clones into ~/.oh-my-zsh, so the customization directory is # ~/.oh-my-zsh/custom. The wiki's Customization page says the same: "Oh My Zsh # has a special directory as defined in $ZSH_CUSTOM (defaults to # ~/.oh-my-zsh/custom)", every *.zsh in it is sourced at startup, and # custom/themes holds the user's own themes. # # ZSH_THEME, the plugins list and the ZSH/ZSH_CUSTOM exports themselves live in # ~/.zshrc, which the zsh entry already covers. The rest of ~/.oh-my-zsh is the # framework's git checkout and its cache, so neither is listed. paths = ["~/.oh-my-zsh/custom/"] # custom/plugins is where third-party plugins are git-cloned # (zsh-autosuggestions and friends) — a checkout, not config. example.zsh ships # with the framework itself. exclude = [ "~/.oh-my-zsh/custom/plugins/", "~/.oh-my-zsh/custom/example.zsh", ] secret = [] # No machine_lines: aliases, functions and themes are exactly what the user # wants to follow them. A custom .zsh file can of course export a local path, # but there is no keyword that marks one, and the shell rc entry is where such # a rule would belong. [commands] format = 1 label = "Oh My Zsh" description = "Manage plugins and themes with omz." quality = "ai-draft" base = "fig:omz" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/omz.ts" license = "MIT" [[commands.subcommand]] path = ["plugin", "enable"] label = "Enable plugins" description = "Enable plugins in .zshrc." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/omz.ts" license = "MIT" [[commands.subcommand.field]] id = "plugin" label = "Plugins" type = "string" position = 0 multiple = true sources = ["fig"] [[commands.subcommand.task]] id = "enable" label = "Enable" fields = ["plugin"] required = ["plugin"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["plugin"] [[commands.subcommand]] path = ["plugin", "info"] label = "Plugin info" description = "Show information about a plugin." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/omz.ts" license = "MIT" [[commands.subcommand.field]] id = "plugin" label = "Plugin" type = "string" position = 0 sources = ["fig"] [[commands.subcommand.task]] id = "info" label = "Show info" fields = ["plugin"] required = ["plugin"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["plugin"] [[commands.subcommand]] path = ["theme", "use"] label = "Use a theme" description = "Load a theme in this session." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/omz.ts" license = "MIT" [[commands.subcommand.field]] id = "theme" label = "Theme" type = "string" position = 0 sources = ["fig"] [[commands.subcommand.task]] id = "use" label = "Use theme" fields = ["theme"] required = ["theme"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["theme"]