You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
536 B
30 lines
536 B
#!/bin/bash
|
|
|
|
|
|
case $1 in
|
|
edit)
|
|
$EDITOR $ROOT/config/$2
|
|
;;
|
|
|
|
add)
|
|
echo " - $2" >> $ROOT/packages.conf.yaml
|
|
;;
|
|
|
|
install)
|
|
~/dotfiles/installer
|
|
;;
|
|
|
|
install-server)
|
|
sudo apt install python3 neovim curl zsh -y
|
|
|
|
$ROOT/install -c "$DOTFILES/install-server.yaml"
|
|
;;
|
|
|
|
*)
|
|
echo "Commands:"
|
|
echo " install installs the dotfiles"
|
|
echo " edit edit one of the config files"
|
|
echo " add add a package to the list"
|
|
;;
|
|
esac
|