summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenterprisey <danielhglus@gmail.com>2019-06-09 22:12:29 -0700
committerGitHub <noreply@github.com>2019-06-09 22:12:29 -0700
commitb41eecd31bb7fe56de838d15fc632f51856a80cb (patch)
treec2d330b34a5003e7311d362b3e96c5aeae26e4cc
parent507f164a09d2cb3c99983424f9d186d6f4081820 (diff)
downloadale-b41eecd31bb7fe56de838d15fc632f51856a80cb.zip
In README, more efficient git clones
Users don't need the entire git history to use the plugin, so don't download it
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 019da143..64a80ef2 100644
--- a/README.md
+++ b/README.md
@@ -258,14 +258,14 @@ any other tools. Simply clone the plugin into your `pack` directory.
```bash
mkdir -p ~/.vim/pack/git-plugins/start
-git clone https://github.com/w0rp/ale.git ~/.vim/pack/git-plugins/start/ale
+git clone --depth 1 https://github.com/w0rp/ale.git ~/.vim/pack/git-plugins/start/ale
```
#### NeoVim on Unix
```bash
mkdir -p ~/.local/share/nvim/site/pack/git-plugins/start
-git clone https://github.com/w0rp/ale.git ~/.local/share/nvim/site/pack/git-plugins/start/ale
+git clone --depth 1 https://github.com/w0rp/ale.git ~/.local/share/nvim/site/pack/git-plugins/start/ale
```
#### Vim 8 on Windows
@@ -273,7 +273,7 @@ git clone https://github.com/w0rp/ale.git ~/.local/share/nvim/site/pack/git-plug
```bash
# Run these commands in the "Git for Windows" Bash terminal
mkdir -p ~/vimfiles/pack/git-plugins/start
-git clone https://github.com/w0rp/ale.git ~/vimfiles/pack/git-plugins/start/ale
+git clone --depth 1 https://github.com/w0rp/ale.git ~/vimfiles/pack/git-plugins/start/ale
```
#### Generating Vim help files