From b6cd9a1faf45a840c7176baeacde38dad6710842 Mon Sep 17 00:00:00 2001
From: Rob Loach <robloach@gmail.com>
Date: Mon, 9 Sep 2024 12:23:51 -0400
Subject: [PATCH] aliases: Move brew and chezmoi plugins to aliases

This moves the brew and chezmoi plugins to the aliases directory as they just implement aliases.
---
 plugins/brew/README.md => aliases/brew.aliases.md    | 12 ++----------
 .../brew/brew.plugin.sh => aliases/brew.aliases.sh   |  0
 .../chezmoi/README.md => aliases/chezmoi.aliases.md  |  6 ++----
 .../chezmoi.plugin.sh => aliases/chezmoi.aliases.sh  |  0
 plugins/README.md                                    |  2 --
 5 files changed, 4 insertions(+), 16 deletions(-)
 rename plugins/brew/README.md => aliases/brew.aliases.md (86%)
 rename plugins/brew/brew.plugin.sh => aliases/brew.aliases.sh (100%)
 rename plugins/chezmoi/README.md => aliases/chezmoi.aliases.md (90%)
 rename plugins/chezmoi/chezmoi.plugin.sh => aliases/chezmoi.aliases.sh (100%)

diff --git a/plugins/brew/README.md b/aliases/brew.aliases.md
similarity index 86%
rename from plugins/brew/README.md
rename to aliases/brew.aliases.md
index 7de6e8843..e3941e024 100644
--- a/plugins/brew/README.md
+++ b/aliases/brew.aliases.md
@@ -1,14 +1,6 @@
-# brew plugin
+# Aliases: `brew`
 
-The plugin adds several aliases for common [brew](https://brew.sh) commands.
-
-To use it, add `brew` to the plugins array of your bashrc file:
-
-```bash
-plugins=(... brew)
-```
-
-## Aliases
+Several aliases for common [brew](https://brew.sh) commands.
 
 | Alias  | Command              | Description   |
 |--------|----------------------|---------------|
diff --git a/plugins/brew/brew.plugin.sh b/aliases/brew.aliases.sh
similarity index 100%
rename from plugins/brew/brew.plugin.sh
rename to aliases/brew.aliases.sh
diff --git a/plugins/chezmoi/README.md b/aliases/chezmoi.aliases.md
similarity index 90%
rename from plugins/chezmoi/README.md
rename to aliases/chezmoi.aliases.md
index f86a1e511..b40a453f2 100644
--- a/plugins/chezmoi/README.md
+++ b/aliases/chezmoi.aliases.md
@@ -1,8 +1,6 @@
-# Chezmoi plugin
+# Aliases: `chezmoi`
 
-The chezmoi plugin defines a number of useful aliases for you. [Consult the complete list](./chezmoi.plugin.sh)
-
-## List of aliases
+This adds a number of useful aliases for [chezmoi](https://www.chezmoi.io) usage. [Consult the complete list](./chezmoi.plugin.sh)
 
 | Alias | Command                | Description                                                                                                                                         |
 |-------|------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|
diff --git a/plugins/chezmoi/chezmoi.plugin.sh b/aliases/chezmoi.aliases.sh
similarity index 100%
rename from plugins/chezmoi/chezmoi.plugin.sh
rename to aliases/chezmoi.aliases.sh
diff --git a/plugins/README.md b/plugins/README.md
index 350ec6e3d..983d2b4b5 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -31,9 +31,7 @@ By leveraging these plugins, you can streamline your workflow and tackle coding
 | bash-preexec    | Tool allowing execution of commands before they are executed in Bash.                                               |
 | bashmarks       | Utility facilitating directory navigation via bookmarks in Bash.                                                    |
 | battery         | Plugin related to monitoring and managing battery on computer systems.                                              |
-| brew            | Package manager for macOS and Linux facilitating software installation and management.                              |
 | bu              | Insufficient information provided to give a precise description.                                                    |
-| chezmoi         | Dotfile management tool enabling management of user environment configuration.                                      |
 | dotnet          | This plugin provides completion and useful aliases for .NET Core CLI.                                               |
 | fasd            | Utility easing filesystem navigation through shortcuts and abbreviated commands.                                    |
 | gcloud          | Command-line tools for interacting with Google Cloud Platform (GCP).                                                |