From f32cd7abc115f0443dbbecdd0c2c4f16755a134e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Tue, 20 Oct 2020 11:23:07 -0400 Subject: Include local zshrc. Some setup.sh improvements --- setup.sh | 4 +++- zsh/.zshrc | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 1af71ce..e1a42db 100755 --- a/setup.sh +++ b/setup.sh @@ -20,6 +20,8 @@ fi if which emacs >/dev/null; then $STOW emacs - git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d + if [[ ! -e ~/.emacs.d ]]; then + git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d + fi doom sync # Too slow! fi diff --git a/zsh/.zshrc b/zsh/.zshrc index abb4493..8e7a73a 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -20,3 +20,5 @@ setopt autocd PURE_GIT_PULL=0 PURE_GIT_UNTRACKED_DIRTY=0 prompt pure + +source ~/.zshrc.local -- cgit v1.2.3