scwrypts/zsh
2022-05-24 10:26:05 -06:00
..
aws [ ZSH / DEPENDENCIES ] Changed environment dependency checker to be more automatic 2022-05-24 10:26:05 -06:00
scwrypts [ ZSH / DEPENDENCIES ] Changed environment dependency checker to be more automatic 2022-05-24 10:26:05 -06:00
utils [ ZSH / DEPENDENCIES ] Changed environment dependency checker to be more automatic 2022-05-24 10:26:05 -06:00
common.zsh [ ZSH / DEPENDENCIES ] Changed environment dependency checker to be more automatic 2022-05-24 10:26:05 -06:00
hello-world [ ZSH / DEPENDENCIES ] Changed environment dependency checker to be more automatic 2022-05-24 10:26:05 -06:00
README.md [RELEASE] v1.0.0 2022-05-02 17:07:07 -06:00

ZSH Scwrypts

Generic Badge Generic Badge Generic Badge Generic Badge Generic Badge

Since they emulate direct user interaction, shell scripts are often the straightforward choice for task automation.

Basic Utilities

One of my biggest pet-peeves with scripting is when every line of a (insert-language-here) program is escaped to shell. This kind of program, which doesn't use language features, should be a shell script. While there are definitely unavoidable limitations to shell scripting, we can minimize a variety of problems with a modern shell and shared utilities library.

Loaded by common.zsh, the utils/ library provides:

  • common function wrappers to unify flags and context
  • lazy dependency and environment variable validation
  • consistent (and pretty) user input / output