update README

This commit is contained in:
fabolous005 2024-09-15 19:48:58 +02:00
parent 13b5489092
commit 5a0f4dbba5

View File

@ -4,22 +4,28 @@ bash library for gentoo utils
## How to use ## How to use
`. etools` ```bash
source etools
```
## Configuration ## Configuration
etools searches for a configuration file at the following locations: etools searches for a configuration file at the following locations:
`/etc/etools/etools.conf` ```shell
`$HOME/.config/etools.conf` /etc/etools/etools.conf
`$HOME/.config/etools/etools.conf` $HOME/.config/etools.conf
$HOME/.config/etools/etools.conf
```
## What it does ## What it does
provided function are the following: provided function are the following:
`einfo <info>` ```bash
`ewarn <warning>` einfo <info>
`eerror <error>` ewarn <warning>
`etools_configure` eerror <error>
`etools_unset` etools_configure
`etools_smart_find <package name> [repo]` etools_unset
etools_smart_find <package name> [repo]
```