https://github.com/dxrcy/scripts
Some POSIX-compliant shell scripts.
https://github.com/dxrcy/scripts
Last synced: 3 months ago
JSON representation
Some POSIX-compliant shell scripts.
- Host: GitHub
- URL: https://github.com/dxrcy/scripts
- Owner: dxrcy
- License: gpl-3.0
- Created: 2023-06-28T12:02:07.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-06T03:00:01.000Z (3 months ago)
- Last Synced: 2025-03-15T08:37:17.681Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 304 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scripts
Some POSIX-compliant scripts.
# Setup
Clone repository:
```sh
git clone https://github.com/dxrcy/scripts ~/scripts
```Add line to shell rc:
```sh
PATH="$HOME/scripts/cmd:$PATH"
```# Usage
Command scripts are in `/cmd`, which can be added to `$PATH`.
Other files are put in separate folders.
Help comment is defined in a script with `export INFO=`, view with `whatscript [CMD]`
Non-standard commands are checked to be installed with `requires`, returning code 199 if not found.