mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 09:56:39 +00:00
Update readme with details of new init system
This commit is contained in:
29
README.md
29
README.md
@@ -58,13 +58,29 @@ Clone the repo to your machine:
|
|||||||
git clone https://github.com/jimeh/tmuxifier.git ~/.tmuxifier
|
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
|
### bash & zsh
|
||||||
|
|
||||||
And add the following to your `~/.profile`, `~/.bash_profile`, `~/.zshrc` or
|
And add the following to your `~/.profile`, `~/.bash_profile`, `~/.zshrc` or
|
||||||
equivalent:
|
equivalent:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
[[ -s "$HOME/.tmuxifier/init.sh" ]] && source "$HOME/.tmuxifier/init.sh"
|
eval "$(tmuxifier init -)"
|
||||||
```
|
```
|
||||||
|
|
||||||
### tcsh
|
### tcsh
|
||||||
@@ -72,9 +88,14 @@ equivalent:
|
|||||||
Add the following to your `~/.cshrc`, `~/.tcshrc` or equivalent:
|
Add the following to your `~/.cshrc`, `~/.tcshrc` or equivalent:
|
||||||
|
|
||||||
```tcsh
|
```tcsh
|
||||||
if ( -s "$HOME/.tmuxifier/init.sh" ) then
|
eval `tmuxifier init -`
|
||||||
source "$HOME/.tmuxifier/init.sh"
|
```
|
||||||
endif
|
|
||||||
|
## Updating
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd ~/.tmuxifier
|
||||||
|
git pull
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|||||||
Reference in New Issue
Block a user