From 493bdb9456bd4ee375e5c9ce6bbd7317ed1a319d Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Sun, 5 Dec 2010 17:01:19 -0600 Subject: [PATCH] Added documentation for ref plugin --- plugins/ref.plugin.bash | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/plugins/ref.plugin.bash b/plugins/ref.plugin.bash index 0c93d70..d5888db 100644 --- a/plugins/ref.plugin.bash +++ b/plugins/ref.plugin.bash @@ -1,3 +1,27 @@ +##################################################################################################################################################################### +# README # +# ------ # +# # +# ref is a plugin for storing HTML formatted references, mainly suited for programming. # +# Your $REF_DIR variable is the directory for storing these references in. If it does not exist, it will be created automatically. # +# Here is an example of what my $REF_DIR looks like, because this will be of use when I explain how your $REF_DIR has to be structured: # +# # +# ~/.ref/ # +# ruby/ # +# general/ # +# index.html # +# bash/ # +# array/ # +# index.html # +# select/ # +# index.html # +# # +# This is what the basic structure of your $REF_DIR should look like: Subdirectories for each subject, and then another set of subdirectories for the part of the # +# subject you want to reference. And in the second subdirectory, an index.html file. # +# # +# I hope that you like this plugin and if you have any questions about it, send me (mrman208) a message on GitHub or email me at mrman208@me.com # +##################################################################################################################################################################### + ref() { if [ ! -d "$REF_DIR" ] then -- 2.17.1