diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2022-10-03 12:36:00 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2023-12-12 23:30:24 +0100 |
| commit | 02236e7bfcd2a434d9d8ac19ebaf563790d0c376 (patch) | |
| tree | a8883194ab6f2a94a1d1f33f7dff93ae74397506 /install.sh | |
| parent | c3f0dac831dd3110dfc610edb1a7ccc8b3b4622e (diff) | |
Setup for codespaces and Emacs config tweaks
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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" |
