]> git.armaanb.net Git - zpe.git/blobdiff - README.md
Redesign clean command
[zpe.git] / README.md
index da0195a7aee04bb332ddc3848e1979a0f12c7619..7eebd1c3a3a6ba869f602358068db41087dbb814 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,11 +1,22 @@
 # zpe
-A darn stupid zsh plugin manager
+A utility to ease the management of Zsh plugins. This is NOT a complete Zsh plugin manager, I reccomend [znap](https://github.com/marlonrichert/zsh-snap/) if you are looking for one. This script just takes the edge off of manually managing them, if you don't want to deal with one of the full-fledged plugin managers.
 
 ## Usage
-Just put a list of git repos (full url, either ssh or http) in `~/.config/zpe/repositories`, and then 
+  1. Source the script in your `zshrc`
+  2. Add a list of the plugin repositories in `~/.config/zpe/repositories`
+    * Use the full URL, either SSH or HTTP
+    * Comments can be added with a #
+  3. Run `zpe-clone` to pull the repositories
+  4. Source the plugin in your zshrc using the `zpe-source` command.
+    * For each plugin, locate the source-able file (usually contains the word init, or has the .plugin.zsh extension)
+    * Add it to your zshrc using the following syntax: `zpe-source <plugin name>/<source-able file name>`.
+    * Make sure that this goes after sourcing the `zpe.zsh` script.
+  * Extra commads
+    * `zpe-pull` updates the repositories
+    * `zpe-clean` removes any cloned repositories that are no longer in `repositories` file
 
 ## Motivation
-All of the other available plugin managers try to get way to fancy. I just need something to automatically clone git repositories and source the files for me. Thats it!
+All of the other available plugin managers try to get way to fancy. I just need something to automatically clone git repositories, and make my system nice and portable. I set myself a code limit of 100 sloc to try and stop feature creep. The script is intentionally very extensible and feature-minimal.
 
 ## License
 Copyright Armaan Bhojwani