antigen icon indicating copy to clipboard operation
antigen copied to clipboard

Antigen load local theme file?

Open dominikheinz opened this issue 4 years ago • 1 comments

Description

I am trying to load my own .zsh-theme file. It is not part of the oh-my-zsh repo, and I don't know how I can load it. I tried to specify the path with antigen theme <path to file>, but that didnt work

Expected behavior:

- I'd like to load and use my theme

Software version

  • antigen version: 2.2.2
  • zsh --version: 5.8
  • uname -a: Linux void 5.9.4-arch1-1 #1 SMP PREEMPT Wed, 04 Nov 2020 21:41:09 +0000 x86_64 GNU/Linux

dominikheinz avatar Nov 08 '20 12:11 dominikheinz

I was looking for this too. What I ended up doing is simply sourcing the theme file after I initialized antigen:

# snip

antigen init ./antigenrc
source ./sto.zsh-theme

# snip

davidstosik avatar Feb 09 '23 14:02 davidstosik