aboutsummaryrefslogtreecommitdiff
path: root/metadot
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-01 01:42:09 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-01 01:42:09 -0200
commit1ac53e6d9073453ea6e545e276a8b240d5d91250 (patch)
treee9eff7b999232f6b9ec3dac6c31dadd0c7157bba /metadot
parente8c28ff3866376c292efb5152de4e63f8891c774 (diff)
downloaddotfiles-1ac53e6d9073453ea6e545e276a8b240d5d91250.tar.gz
dotfiles-1ac53e6d9073453ea6e545e276a8b240d5d91250.tar.bz2
Usage
Diffstat (limited to 'metadot')
-rwxr-xr-xmetadot4
1 files changed, 3 insertions, 1 deletions
diff --git a/metadot b/metadot
index f2bb2d7..8d8a4e5 100755
--- a/metadot
+++ b/metadot
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# metadot: a dotfile manager
+# metadot: a dotfile management system
#
# Parameters
@@ -75,6 +75,8 @@ function metadot_load {
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