Update readme with tcsh installation instructions

This commit is contained in:
2012-09-06 22:57:13 +01:00
parent 2da8fc9d7b
commit f460d78f48

View File

@@ -52,16 +52,29 @@ Which will yield a Tmux window looking like this:
## Installation
Clone the repo to your machine:
```bash
git clone https://github.com/jimeh/tmuxifier.git ~/.tmuxifier
```
And add the following to your `~/.profile`, `~/.bash_profile` or equivalent:
### 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"
```
### TCSH
Add the following to your `~/.cshrc`, `~/.tcshrc` or equivalent:
```bash
[ -f "$HOME/.tmuxifier/init.tcsh" ] && source "$HOME/.tmuxifier/init.tcsh"
```
## Usage
*__Note:__ This section needs expanding upon.*
@@ -117,8 +130,8 @@ in it.
### Custom Installaton Path
To install Tmuxifier to a custom path, clone the repository to your desired
path and set `$TMUXIFIER` to that path, additionally loading `init.sh` from
that same path.
path and set `$TMUXIFIER` to that path, additionally loading `init.sh` or
`init.tcsh` from that same path.
```bash
export TMUXIFIER="$HOME/.dotfiles/tmuxifier"