Skip to content

Commit

Permalink
Remove shell prompt from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbundy committed Feb 15, 2014
1 parent 6af56cf commit 1eafa0e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,40 @@
Tired of having to type this janky command to [ssh](http://manpages.ubuntu.com/manpages/saucy/en/man1/ssh.1.html) and [cd](http://manpages.ubuntu.com/manpages/saucy/en/man1/cd.1posix.html) into unfamiliar remote servers?

```sh
$ ssh -t [email protected] "cd /over/the/rainbow; exec \$SHELL"
ssh -t [email protected] "cd /over/the/rainbow; exec \$SHELL"
```

Me too.

```sh
$ sshcd [email protected]:/over/the/rainbow
sshcd [email protected]:/over/the/rainbow
```

## Installation

```sh
$ git clone https://github.com/christianbundy/sshcd
$ sudo make -C sshcd install PREFIX=/usr/local
git clone https://github.com/christianbundy/sshcd
sudo make -C sshcd install PREFIX=/usr/local
```

Or without using Git:

```sh
$ wget https://github.com/christianbundy/sshcd/archive/v1.0.0.tar.gz
$ tar --get --gzip < v1.0.0.tar.gz
$ sudo make -C sshcd-1.0.0 install PREFIX=/usr/local
wget https://github.com/christianbundy/sshcd/archive/v1.0.0.tar.gz
tar --get --gzip < v1.0.0.tar.gz
sudo make -C sshcd-1.0.0 install PREFIX=/usr/local
```

## Usage

The default usage is pretty simple.

```sh
$ sshcd [email protected]:/your/favorite/folder
sshcd [email protected]:/your/favorite/folder
```

The tool supports prepended flags, too!

```sh
$ sshcd -v [email protected]:/lets/get/verbose
sshcd -v [email protected]:/lets/get/verbose
```

0 comments on commit 1eafa0e

Please sign in to comment.