aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--README.md6
-rwxr-xr-xinstall.sh8
3 files changed, 4 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore
index d4bb6e7..13c2022 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
config/emacs/eln-cache/
+config/nvim/plugin/packer_compiled.lua
diff --git a/README.md b/README.md
index cf558f8..2db5b1d 100644
--- a/README.md
+++ b/README.md
@@ -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`.
diff --git a/install.sh b/install.sh
index 7be3fc1..914714f 100755
--- a/install.sh
+++ b/install.sh
@@ -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"