fix(bud/install-doom): change -x to ! -d

This commit is contained in:
Infinidoge 2021-10-22 13:00:57 -04:00
parent 72e7f0b5e6
commit 724f2a8bb7

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
if [ -x $XDG_CONFIG_HOME/emacs ]; then
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