scwrypts/zsh
yage a200c1eb22 v3.9.1
=====================================================================

--- Changes ------------------------------

- Moved personal-environment specific scwrypts to wrynegade/dotwryn
2023-12-23 10:23:38 -07:00
..
cloud v3.8.0 2023-11-22 15:54:16 -07:00
db/postgres v3.0.0 "The Great Overhaul" 2023-06-21 20:04:30 -06:00
docker v3.0.0 "The Great Overhaul" 2023-06-21 20:04:30 -06:00
helm v3.7.0 2023-11-10 16:32:05 -07:00
lib v3.9.0 2023-12-11 18:19:37 -07:00
media/youtube v3.0.0 "The Great Overhaul" 2023-06-21 20:04:30 -06:00
misc v3.9.0 2023-12-11 18:19:37 -07:00
office v3.7.0 2023-11-10 16:32:05 -07:00
redis v3.0.0 "The Great Overhaul" 2023-06-21 20:04:30 -06:00
scwrypts v3.7.0 2023-11-10 16:32:05 -07:00
system v3.9.1 2023-12-23 10:23:38 -07:00
hello-world v3.0.0 "The Great Overhaul" 2023-06-21 20:04:30 -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