https://github.com/dotmpe/user-scripts
An attempt to provide some fuel for ~erichs' Composure
https://github.com/dotmpe/user-scripts
bash busybox composure shell shellcheck sitefile
Last synced: 8 months ago
JSON representation
An attempt to provide some fuel for ~erichs' Composure
- Host: GitHub
- URL: https://github.com/dotmpe/user-scripts
- Owner: dotmpe
- License: agpl-3.0
- Created: 2018-08-24T00:07:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-06-25T00:04:12.000Z (9 months ago)
- Last Synced: 2025-06-25T01:20:29.898Z (9 months ago)
- Topics: bash, busybox, composure, shell, shellcheck, sitefile
- Language: Shell
- Homepage: https://travis-ci.org/dotmpe/user-scripts/branches
- Size: 1.08 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# User Scripts [](https://travis-ci.org/bvberkum/user-scripts)    
Bourne shell compatible scripts in various modules, and a method for loading
modules.
### Usage
Use the ``lib_load`` function to source ``.lib.sh`` found anywhere on ``SCRIPTPATH``:
```sh
lib_load
```
If function ``_load`` exists it is executed directly after sourcing.
Set and export SCRIPTPATH for a script environment with ``init.sh``:
```
scriptpath=$PWD . ./tools/sh/init.sh
lib_load
```
or set from master/for dev:
```
test -e ./tools/sh/init.sh ||
curl -sSO https://github.com/user-tools/user-scripts/blob/master/tools/sh/init-gh.sh | sh -
scriptpath=$PWD . ./tools/sh/init.sh
```
A predefined set of modules is loaded.
### Status
Released `lib_load` and some other routines for testing in the field. All other commits on 0.0 dev line (branch ``r0.0``).
Version: 0.0.1
* [AGPL-3.0](COPYING)