SN@ilWare aggregators for Zsh.
- Download the script or clone this repository:
$ git clone git://github.com/xgarrido/zsh-aggregator.git
- Add the cloned directory to
fpath
variable to make use of zsh completion:
fpath=(/path/to/zsh-aggregator $fpath)
- Source the script at the end of
~/.zshrc
:
source /path/to/zsh-aggregator/zsh-aggregator.plugin.zsh
- Source
~/.zshrc
to take changes into account:
$ source ~/.zshrc
- Download the script or clone this repository in oh-my-zsh plugins directory:
$ cd ~/.oh-my-zsh/custom/plugins
$ git clone git://github.com/xgarrido/zsh-aggregator.git
- Activate the plugin in
~/.zshrc
(in last position):
plugins=( [plugins...] zsh-aggregator)
- Source
~/.zshrc
to take changes into account:
$ source ~/.zshrc
With antigen
- Add this line to your
~/.zshrc
file:
antigen-bundle xgarrido/zsh-aggregator
If your machine is not registered (it should be the case), then you must define
the SNAILWARE_BASE_DIR
environment variable. It points to where all software
components is going to be installed.
Type aggregator
and press TAB
key. You will be prompt to
something like this
➜ aggregator
build -- Build a component
configure -- Configure a component
environment -- Set environment
checkout -- Checkout a component
update -- Update a component
goto -- Goto a component directory
rebuild -- Rebuild component from scratch
reset -- Reset component
setup -- Source a component
status -- Status of a component
test -- Run tests on a component
Pressing again TAB
key will bring you to the different
options. Let's try build
option and again try to complete by using TAB
➜ aggregator build
all bayeux cadfael chevreuse falaise
You can select and build software agregators or build all
the aggregators in
one time. You can either select the aggregator by using TAB
key or start to
write the beginning of the name of the aggregator you want to build and use zsh
completion power.