utility

August 10, 2026 ยท View on GitHub

Common shell utilities, aimed at making cross-platform work less painful.

Options

This plugin sets no Zsh options.

Functions

This plugin adds the following functions:

functiondescription
sedi <args>Cross-platform sed -i that works on both GNU and BSD sed.
copyfile <file>Copy a file's contents to the clipboard.
copypath [path]Copy an absolute path to the clipboard, defaulting to $PWD.

Aliases

This plugin adds/modifies the following aliases:

aliasdescription
helprun-help: show help for shell builtins and commands
lsAdds -h flag for human readable file sizes
pythonAlias to python3 if python is not found
pipAlias to pip3 if pip is not found
envsubstPython fallback if envsubst is not found
hdhexdump -C if hd is not found
openPlatform alias (cygstart, termux-open, or xdg-open) if not found
pbcopyPlatform clipboard copy alias if not found
pbpastePlatform clipboard paste alias if not found

Variables

This plugin sets no variables.

Customizations

This plugin does not have any zstyles for customization.