cache
Parameters
Configuration of the cache.
| Operation | Type | Description | 
|---|---|---|
| path | path | The path to the cache directory (default: ~/.cache/omni) | 
| cargo_install | cargo_install | Configuration of the cache for cargo-installoperations | 
| github_release | github_release | Configuration of the cache for github-releaseoperations | 
| go_install | go_install | Configuration of the cache for go-installoperations | 
| homebrew | homebrew | Configuration of the cache for homebrewoperations | 
| mise | mise | Configuration of the cache for miseoperations | 
Example
cache:
  path: ~/.cache/omni
  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
  mise:
    update_expire: 1d
    plugin_update_expire: 1d
    plugin_versions_expire: 1h
    clean_after: 1w