Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stmh authored Mar 10, 2019
1 parent 13fe51b commit 98b0068
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ Phabalicious is the successor of the python tool [fabalicious](https://github.co
## Installation

* Download the latest version from [Github](https://github.com/factorial-io/phabalicious/releases)
* copy the phar to a suitable folder, e.g. `/usr/local/bin` and rename it to `phab`:
`cp phabalicious.phar /usr/local/bin/phab`
* copy the phar to a suitable folder, e.g. `/usr/local/bin` and rename it to `phab`:

cp phabalicious.phar /usr/local/bin/phab

* Make it executable, e.g.
`chmod +x /usr/local/bin/phab`

chmod +x /usr/local/bin/phab

## Build from source

You'll need [box](https://github.com/humbug/box) for building the phar-file.
Expand All @@ -27,19 +30,19 @@ You'll need [box](https://github.com/humbug/box) for building the phar-file.
## Running phab

* Run `phab list` to get a list of all available commands.
* run `phab help <command>` to get some help for a given command.
* Run `phab help <command>` to get some help for a given command.

## Shell autocompletion

Add this to your shell-startup script:

* for fish-shells

phab _completion --generate-hook --shell-type fish | source
phab _completion --generate-hook --shell-type fish | source

* for zsh/bash-shells

source <(phab _completion --generate-hook)
source <(phab _completion --generate-hook)

## Updating phab

Expand Down

0 comments on commit 98b0068

Please sign in to comment.