#!/bin/bash case $1 in edit) $EDITOR $ROOT/config/$2 ;; add) echo " - $2" >> $ROOT/packages.conf.yaml ;; install) ~/dotfiles/installer ;; *) echo "Commands:" echo " install installs the dotfiles" echo " edit edit one of the config files" echo " add add a package to the list" ;; esac