Introduce baseline infect

This commit is contained in:
Bruno Tavares 2014-02-20 16:53:59 -03:00
parent 8f9187f034
commit d3b46b912d
2 changed files with 15 additions and 0 deletions

View File

@ -82,5 +82,12 @@ Deploy localy a recipe that is not over ssh. It basicaly compile and run the ins
kickstart local [roles ...]
```
#### infect
Infect your shell with the kickstart utility functions
```bash
eval "$(kickstart infect)"
```
### Thanks
This project was inspired on [sunzi](https://github.com/kenn/sunzi)

8
lib/kickstart-infect Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
cat <<EVAL
current_dir=`pwd`
cd `kickstart root-dir`/kickstart/
source install.sh
cd $current_dir
EVAL