From 724f2a8bb70d2480d16f17eed6d279b0c668290d Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Fri, 22 Oct 2021 13:00:57 -0400 Subject: [PATCH] fix(bud/install-doom): change -x to ! -d --- bud/install-doom.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bud/install-doom.bash b/bud/install-doom.bash index 3d7d0b5..8fb45ce 100644 --- a/bud/install-doom.bash +++ b/bud/install-doom.bash @@ -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