From c5b9e7a29dd55867c26979c4244cec88aaf673bc Mon Sep 17 00:00:00 2001 From: AdminatComposeDAO <> Date: Tue, 1 Jul 2025 20:27:05 -0700 Subject: [PATCH] prepping for PR --- CLAUDE.md | 40 -------------------------------- plugins/docker/docker.plugin.zsh | 2 +- 2 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index c9f127ded..000000000 --- a/CLAUDE.md +++ /dev/null @@ -1,40 +0,0 @@ -# CLAUDE.md - Oh My Zsh Framework - -This is the Oh My Zsh repository - a popular open-source framework for managing Zsh shell configurations. - -## Repository Overview -- **Purpose**: Framework for managing Zsh configurations with plugins and themes -- **Structure**: Contains plugins, themes, tools, and library files for Zsh customization -- **Main files**: Installation scripts, update tools, plugin system, theme system - -## Key Commands and Scripts -- `omz update` - Update Oh My Zsh to latest version -- `$ZSH/tools/upgrade.sh` - Direct upgrade script for automation -- `uninstall_oh_my_zsh` - Remove Oh My Zsh completely -- `$ZSH/tools/install.sh` - Installation script -- `$ZSH/tools/uninstall.sh` - Uninstallation script -- DO NOT ever `git add`, `git rm` or `git commit` code. Allow the Claude user to always manually review git changes. `git mv` is permiitted and inform the developer. -- **Operating outside of local repository (with .git/ directoryr oot)**: Not permitted and any file or other operations require user approval and notification - -## Configuration -- Main config file: `~/.zshrc` -- Installation directory: `~/.oh-my-zsh` (customizable via `$ZSH` variable) -- Custom directory: `~/.oh-my-zsh/custom/` for user customizations - -## Development Workflow -- Plugins located in `plugins/` directory -- Themes located in `themes/` directory -- Library files in `lib/` directory -- Tools and utilities in `tools/` directory -- Custom plugins/themes go in `custom/` directory -- **New plugin**: `eternalhist` plugin added to `plugins/eternalhist/` for advanced persistent command history with multi-remote sync - -## Testing -- No specific test commands found - check individual plugin READMEs -- Manual testing via shell usage and configuration changes - -## Important Notes -- This is a shell framework, not a traditional application -- Changes require sourcing `~/.zshrc` or opening new terminal -- Plugin and theme changes require editing `~/.zshrc` configuration -- Uses Git for updates and version management diff --git a/plugins/docker/docker.plugin.zsh b/plugins/docker/docker.plugin.zsh index 42deaece1..5268f6cd6 100644 --- a/plugins/docker/docker.plugin.zsh +++ b/plugins/docker/docker.plugin.zsh @@ -58,7 +58,7 @@ fi # docker version returns `Docker version 24.0.2, build cb74dfcd85` # with `s:,:` remove the comma after the version, and select third word of it if zstyle -t ':omz:plugins:docker' legacy-completion || \ - ! is-at-least 23.0.0 ${${(s:,:z)"$(command docker --version 2>/dev/null)"}[3]}; then + ! is-at-least 23.0.0 ${${(s:,:z)"$(command docker --version)"}[3]}; then command cp "${0:h}/completions/_docker" "$ZSH_CACHE_DIR/completions/_docker" else command docker completion zsh | tee "$ZSH_CACHE_DIR/completions/_docker" > /dev/null