bud: move to shell and use git clone for get

This commit is contained in:
Parthiv Seetharaman 2021-12-29 15:41:58 -08:00 committed by Infinidoge
parent efc3380e13
commit 1a6f024d99
4 changed files with 6 additions and 3 deletions

View file

@ -1,8 +0,0 @@
#!/usr/bin/env bash
if [ ! -d $XDG_CONFIG_HOME/emacs ]; then
git clone --depth 1 https://github.com/hlissner/doom-emacs $XDG_CONFIG_HOME/emacs
$XDG_CONFIG_HOME/emacs/bin/doom install "$@"
else
echo "fatal: $XDG_CONFIG_HOME/emacs already exists!"
fi