Skip to content

dxrcy/scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

565 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scripts

Some POSIX-compliant scripts.

Setup

Clone repository:

git clone https://github.com/dxrcy/scripts ~/scripts

Add line to shell rc:

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.

About

Some POSIX-compliant shell scripts.

Resources

License

Stars

Watchers

Forks

Contributors