Skip to main content

cache

Parameters

Configuration of the cache.

OperationTypeDescription
pathpathThe path to the cache directory (default: ~/.cache/omni)
asdfasdfConfiguration of the cache for asdf operations
cargo_installcargo_installConfiguration of the cache for cargo-install operations
github_releasegithub_releaseConfiguration of the cache for github-release operations
go_installgo_installConfiguration of the cache for go-install operations
homebrewhomebrewConfiguration of the cache for homebrew operations

Example

cache:
path: ~/.cache/omni
asdf:
update_expire: 1d
plugin_update_expire: 1d
plugin_versions_expire: 1h
clean_after: 1w
cargo_install:
versions_expire: 1d
cleanup_after: 1w
github_release:
versions_expire: 1d
cleanup_after: 1w
go_install:
versions_expire: 1d
cleanup_after: 1w
homebrew:
update_expire: 1d
install_update_expire: 1d
install_check_expire: 12h
cleanup_after: 1w