Instalation
-----------
+Get the code:
+
git clone --recursive git://URL/dotfiles.git .dotfiles
-Some configuration files depends on the "scripts" repository to
-be cloned at ~/apps/scripts.
+Then add .dotfiles folder to your path.
+
+Usage
+-----
+
+List existing modules:
+
+ metadot ls
+
+Load a module:
+
+ metadot load <module>
+
+Load all modules:
-Backups of your old files can be put into .dotfiles/backups.
+ metadot load --all
Layout
------
Todo
----
-- Put modules as git submodules.
+- Make modules as git submodules.
- Better integration with scripts project.
+- Module descriptions.
+- Basic dependency.
#!/bin/bash
#
-# metadot: a dotfile manager
+# metadot: a dotfile management system
#
# Parameters
if [ -z "$OPT" ]; then
echo "usage: $BASENAME <option> [arguments]"
exit 1
+elif [ "$OPT" == "ls" ]; then
+ ls -1 $MODULES
elif [ "$OPT" == "update" ]; then
( cd $DOT && git pull origin master && git submodule update --init )
elif [ "$OPT" == "load" ]; then