aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index e6486d9..7be3fc1 100755
--- a/install.sh
+++ b/install.sh
@@ -22,16 +22,21 @@ gitinst() {
if [[ ! -e "$2" ]]; then
local remote="[email protected]:$1.git"
git clone "$remote" "$2"
+ else
+ echo "skipping $1: '$2' already exists." >&2
fi
}
mkdir -p "$HOME/.config"
-dotlink "config/alacritty"
dotlink "config/emacs"
dotlink "config/nvim"
gitinst \
"wbthomason/packer.nvim" \
"$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim"
+if [ "$CODESPACES" = true ]; then
+ # TODO(nlordell): Codespaces specific setup.
+fi
+
nvim --headless -c "autocmd User PackerComplete quitall" -c "PackerSync"