File: cache.t

package info (click to toggle)
zsh-antigen 2.2.3-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 608 kB
  • sloc: sh: 310; makefile: 129
file content (23 lines) | stat: -rw-r--r-- 441 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Enable extension.

  $ export _ANTIGEN_INTERACTIVE=false
  $ antigen ext cache
  $ antigen ext-list
  cache
  $ ANTIGEN_CACHE=$ADOTDIR/init.zsh

  $ prev=$(env)
  $ antigen reset
  Done. Please open a new shell to see the changes.

  $ antigen list
  You don't have any bundles.
  [1]

Can programatically generate cache.

  $ antigen reset &> /dev/null
  $ antigen cache-gen
  $ ls $ADOTDIR/init*
  .*init.zsh.* (re)
  .*init.zsh.zwc* (re)