From 831deec069cbfdbfb03dfa22cc3b09e4aa382b75 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 12 Jun 2013 08:50:25 +0100 Subject: [PATCH] Update readme with details of new init system --- README.md | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 83a042f..68254c0 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,29 @@ Clone the repo to your machine: git clone https://github.com/jimeh/tmuxifier.git ~/.tmuxifier ``` +Then add `~/.tmuxifier/bin` to your PATH: + +### bash & zsh + +```bash +export PATH="~/.tmuxifier/bin:$PATH" +``` + +### tcsh + +```tcsh +set path = ( ~/.tmuxifier/bin $path ) +``` + +## Setup + ### bash & zsh And add the following to your `~/.profile`, `~/.bash_profile`, `~/.zshrc` or equivalent: ```bash -[[ -s "$HOME/.tmuxifier/init.sh" ]] && source "$HOME/.tmuxifier/init.sh" +eval "$(tmuxifier init -)" ``` ### tcsh @@ -72,9 +88,14 @@ equivalent: Add the following to your `~/.cshrc`, `~/.tcshrc` or equivalent: ```tcsh -if ( -s "$HOME/.tmuxifier/init.sh" ) then - source "$HOME/.tmuxifier/init.sh" -endif +eval `tmuxifier init -` +``` + +## Updating + +```bash +cd ~/.tmuxifier +git pull ``` ## Usage