scwrypts/zsh
yage a740a66870 v2.4.0
=====================================================================

--- New Scripts --------------------------

zsh )
  memo program; quickly take notes!
   - memo/open
   - memo/remove
2022-08-10 00:46:07 -06:00
..
aws v2.2.0 2022-08-09 13:18:41 -06:00
db v2.3.0 2022-08-09 21:51:31 -06:00
latex v2.3.0 2022-08-09 21:51:31 -06:00
memo v2.4.0 2022-08-10 00:46:07 -06:00
redis v2.1.0 2022-08-02 00:24:29 -06:00
scwrypts v2.2.0 2022-08-09 13:18:41 -06:00
utils v2.3.0 2022-08-09 21:51:31 -06:00
youtube v2.1.0 2022-08-02 00:24:29 -06:00
common.zsh v2.2.0 2022-08-09 13:18:41 -06:00
hello-world v1.1.0 2022-07-01 22:17:12 -06:00
README.md v2.0.0 2022-07-01 22:17:15 -06:00

ZSH Scwrypts

Generic Badge 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