diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2022-10-03 13:21:22 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2023-12-12 23:30:24 +0100 |
| commit | ceb07fa0f1ce2441d8438ee6b13ce9d02c97f6e2 (patch) | |
| tree | 2cd90b9aa7d55f8ab8c62fb59a072e1997d782ff | |
| parent | 02236e7bfcd2a434d9d8ac19ebaf563790d0c376 (diff) | |
Tweaks to improve Codespaces compatibility
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | README.md | 6 | ||||
| -rwxr-xr-x | install.sh | 8 |
3 files changed, 4 insertions, 11 deletions
@@ -1 +1,2 @@ config/emacs/eln-cache/ +config/nvim/plugin/packer_compiled.lua @@ -10,9 +10,3 @@ Clone the repository and run the installation script: ```sh ./install.sh ``` - -## Notes - -### Neovim - -Plugins get installed to `$XDG_DATA_HOME/nvim/plugged`. @@ -20,7 +20,7 @@ dotlink() { gitinst() { if [[ ! -e "$2" ]]; then - local remote="[email protected]:$1.git" + local remote="https://github.com/$1" git clone "$remote" "$2" else echo "skipping $1: '$2' already exists." >&2 @@ -35,8 +35,6 @@ gitinst \ "wbthomason/packer.nvim" \ "$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim" -if [ "$CODESPACES" = true ]; then - # TODO(nlordell): Codespaces specific setup. +if which nvim &>/dev/null; then + nvim --headless -c "autocmd User PackerComplete quitall" -c "PackerSync" fi - -nvim --headless -c "autocmd User PackerComplete quitall" -c "PackerSync" |
