From 48cccfa633339ff7558531953853e44c087de74b Mon Sep 17 00:00:00 2001 From: Bruno Sutic Date: Fri, 10 Jul 2015 16:59:10 +0200 Subject: [PATCH] Created Bootstrap tpm installation (markdown) --- Bootstrap-tpm-installation.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Bootstrap-tpm-installation.md diff --git a/Bootstrap-tpm-installation.md b/Bootstrap-tpm-installation.md new file mode 100644 index 0000000..ca55df5 --- /dev/null +++ b/Bootstrap-tpm-installation.md @@ -0,0 +1,10 @@ +One of the first things we do on a new machine is cloning our dotfiles. Not everything comes with them though, so for example `tpm` most likely won't be installed. + +If you wanna install `tpm` automatically when tmux is started, put the following snippet in `.tmux.conf` before the final `run '~/.tmux/plugins/tpm/tpm'`: + +``` +if "test ! -d ~/.tmux/plugins/tpm" \ + "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm'" +``` + +This useful tip was submitted by @acr4. \ No newline at end of file