]> gitweb.fluxo.info Git - metadot.git/commitdiff
Creating .gitignore for new modules and README update
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 28 Dec 2013 15:39:43 +0000 (13:39 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 28 Dec 2013 15:39:43 +0000 (13:39 -0200)
README.mdwn
metadot

index a4d91d6d90b7a23f17f0236fabf6be62a6c7f744..cf81d01f984069cf76fd56a637a1dee77e3b6273 100644 (file)
@@ -10,7 +10,7 @@ own dotfile bundle.
 
 It was inspired by [holman does dotfiles](https://github.com/holman/dotfiles)
 and many other initiatives but with a modular design to ease dotfile sharing as
-the `metadot` code is split from the dotfile folder.
+the `metadot` code is split from the dotfiles' folder.
 
 Instalation
 -----------
@@ -27,8 +27,8 @@ Then get some modules. You can get the whole standard module bundle with
 Modules names as `dotfiles` have a special meaning and are handled like bundles
 and are cloned directly as `~/.dotfiles`.
 
-Third-party bundled modules will hardly suit your needs, so you can fetch
-individual modules:
+Third-party bundles will hardly suit your needs, so you can fetch individual
+modules:
 
     metadot clone git://git.sarava.org/rhatto/dotfiles/vim.git
 
@@ -96,8 +96,8 @@ Comments and patches: rhatto at riseup.net
 TODO
 ----
 
-- Check if module is correctly installed.
-- Track loaded modules.
+- Add action to include files and folders into a module.
+- Track loaded modules and check if they're correctly installed.
 - Module descriptions and dependencies.
 - Module unloading and restoration.
 - More file types:
diff --git a/metadot b/metadot
index 1736c18a495f1c1e155bf1e86efe789cac412598..9442040bc43bde1e2709533d39e54d93b2dfbdb4 100755 (executable)
--- a/metadot
+++ b/metadot
@@ -112,6 +112,12 @@ elif [ "$OPT" == "create" ]; then
     echo "This is the repository for $1 configuration."              >> README.mdwn
     echo "More information at https://git.sarava.org/?p=metadot.git" >> README.mdwn
 
+    echo "# As we are handling with config files, it might be better to"  > .gitignore
+    echo "# use a paranoid config by default."                           >> .gitignore
+    echo "#"                                                             >> .gitignore
+    echo "# Comment that while in development."                          >> .gitignore
+    echo '*'                                                             >> .gitignore
+
     git add .
   )
   echo "Metadot skeleton module $1 created at $MODULES/$1"