From 41097c15cf22a80221216da8cf3b751c8260e7de Mon Sep 17 00:00:00 2001 From: Cat Lee Ball <43632885+catleeball@users.noreply.github.com> Date: Sat, 17 Sep 2022 14:09:43 -0700 Subject: [PATCH] Add `--depth=1` to git clone command Add `--depth=1` to the README's git clone command to do a shallow clone of just the head of the repo. This will save users a little bit of network and disk if they're copy-pasting from the instructions. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fe90855..ef644c6 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Requirements: `tmux` version 1.9 (or higher), `git`, `bash`. Clone TPM: ```bash -$ git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm +$ git clone --depth=1 https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm ``` Put this at the bottom of `~/.tmux.conf` (`$XDG_CONFIG_HOME/tmux/tmux.conf`