aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-12-28 13:39:43 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-12-28 13:39:43 -0200
commit17ad1c0becd40a7c1dad896be02b2bdf9483debb (patch)
treeec44ebf127b5450c45d1898b5bd71526e62c07d8
parent42bce0cba2c7c805319971c23e9b19f610cc473c (diff)
downloadmetadot-17ad1c0becd40a7c1dad896be02b2bdf9483debb.tar.gz
metadot-17ad1c0becd40a7c1dad896be02b2bdf9483debb.tar.bz2
Creating .gitignore for new modules and README update
-rw-r--r--README.mdwn10
-rwxr-xr-xmetadot6
2 files changed, 11 insertions, 5 deletions
diff --git a/README.mdwn b/README.mdwn
index a4d91d6..cf81d01 100644
--- a/README.mdwn
+++ b/README.mdwn
@@ -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 1736c18..9442040 100755
--- 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"