mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-01 19:47:41 +00:00
* fix(test): ensure bats file list uses xargs * docs(readme): use yarn for testing instructions * fix(test): ensure pipelines fail properly * docs(alias): fix table header --------- Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
19 lines
259 B
Markdown
19 lines
259 B
Markdown
# x-have
|
|
|
|
Check if a command exists on the system. Exits with status 0 if found
|
|
and 1 otherwise.
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
x-have <command>
|
|
```
|
|
|
|
### Example
|
|
|
|
```bash
|
|
x-have git && echo "git installed"
|
|
```
|
|
|
|
<!-- vim: set ft=markdown spell spelllang=en_us cc=80 : -->
|