diff options
Diffstat (limited to 'inception')
-rwxr-xr-x | inception | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -43,9 +43,21 @@ elif [ "$1" == "load" ]; then ( cd $DIRNAME - echo "Loading all dotfiles..." - ./metadot/metadot load --all - ./metadot/metadot deps --all + BUNDLE="$2" + DEPENDENCIES="$3" + + if [ "$BUNDLE" == "--all" ]; then + echo "Loading all dotfiles..." + ./metadot/metadot load --all + ./metadot/metadot deps --all + elif [ -z "$BUNDLE" ]; then + echo "Loading $BUNDLE dotfiles..." + ./metadot/metadot load-bundle $BUNDLE + + if [ "$DEPENDENCIES" == "--deps" ]; then + ./metadot/metadot deps-bundle $BUNDLE + fi + fi ) echo "Done. Logout and login again to apply all changes." |