xsh Library - core.
This repo is the core library of xsh.
About xsh and its libraries, check out xsh document
xsh-lib/core is tested in CI (GitHub Actions) on every push and pull request, across the following shell/OS combinations:
| Shell | Version | OS | Tested |
|---|---|---|---|
| bash | 3.2 | macOS | ✅ |
| bash | 4.4 | Linux (rockylinux:8) | ✅ |
| bash | 5.x | Linux (ubuntu-latest) | ✅ |
| bash | 5.x | macOS (Homebrew) | ✅ |
| zsh | 5.x | Linux (ubuntu-latest) | ✅ |
| zsh | 5.x | macOS | ✅ |
zsh utilities run under xsh's ksh emulation and require xsh ≥ 0.7.0.
This project is still at version 0.x, and should be considered immature.
Assume xsh is already installed at your local.
To load this library into xsh issue below command:
xsh load xsh-lib/coreThe loaded library can be referred as name x.
List available utilities for this library:
xsh list x