bud: add install-doom command
This commit is contained in:
parent
de3ec95272
commit
740f5fbb10
2 changed files with 15 additions and 0 deletions
8
bud/install-doom.bash
Normal file
8
bud/install-doom.bash
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [ -x $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
|
Loading…
Add table
Add a link
Reference in a new issue