Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spotlesscoder/background
ZSH plugin which executes functions in the background
https://github.com/spotlesscoder/background
Last synced: about 2 months ago
JSON representation
ZSH plugin which executes functions in the background
- Host: GitHub
- URL: https://github.com/spotlesscoder/background
- Owner: spotlesscoder
- License: gpl-3.0
- Created: 2021-02-20T17:33:00.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-20T16:32:18.000Z (almost 4 years ago)
- Last Synced: 2024-10-13T10:31:55.454Z (3 months ago)
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ZSH background plugin
This plugin contains patched version of `zsh-add-hook`,
it supports functions who will run in background,
by default, every 5 seconds.## Installation
### If you use [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
* Clone this repository into `~/.oh-my-zsh/custom/plugins`
```sh
cd ~/.oh-my-zsh/custom/plugins
git clone https://github.com/zpm-zsh/background
```
* After that, add `background` to your oh-my-zsh plugins array.### If you use [Zgen](https://github.com/tarjoilija/zgen)
1. Add `zgen load zpm-zsh/background` to your `.zshrc` with your other plugin
2. run `zgen save`### If you use my [ZPM](https://github.com/zpm-zsh/zpm)
* Add `zpm load zpm-zsh/background` into your `.zshrc`
## Usage example
```bash
add-zsh-hook background some_function
```## Meta
Distributed under the GPL3 license. See ``LICENSE`` for more information.
* [https://github.com/horosgrisa](https://github.com/horosgrisa/)
## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request