diff options
| -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" |
